Configured electron-builder for app release

fix-builder
akshitkrnagpal 4 years ago committed by Saúl Ibarra Corretgé
parent d47c142ca7
commit 921b7f6f9b
  1. 3
      .eslintignore
  2. 6
      .flowconfig
  3. 4
      .gitignore
  4. 1
      main.js
  5. 2037
      package-lock.json
  6. 55
      package.json
  7. BIN
      resources/icon.icns
  8. BIN
      resources/icon.ico
  9. BIN
      resources/icons/icon_128x128.png
  10. BIN
      resources/icons/icon_16x16.png
  11. BIN
      resources/icons/icon_24x24.png
  12. BIN
      resources/icons/icon_256x256.png
  13. BIN
      resources/icons/icon_32x32.png
  14. BIN
      resources/icons/icon_48x48.png
  15. BIN
      resources/icons/icon_512x512.png
  16. BIN
      resources/icons/icon_64x64.png
  17. BIN
      resources/icons/icon_96x96.png

@ -6,4 +6,5 @@ Jitsi Meet*
# remaining JavaScript source code.
!.eslintrc.js
build/
build/
dist/

@ -1,7 +1,7 @@
[ignore]
.*/node_modules/@atlaskit/.*/*.js.flow
.*/build/.*
.*/node_modules/electron-packager/test/fixtures/infer-malformed-json/.*
<PROJECT_ROOT>/node_modules/@atlaskit/.*/*.js.flow
<PROJECT_ROOT>/build/.*
<PROJECT_ROOT>/dist/.*
[include]

4
.gitignore vendored

@ -2,6 +2,7 @@
.*.tmp
.remote-sync.json
.sync-config.cson
.electron
.electron-gyp
.npmrc
.idea
@ -15,6 +16,5 @@
node_modules/
npm-debug.log
Jitsi Meet*
build/
dist/

@ -89,6 +89,7 @@ function createJitsiMeetWindow() {
y: jitsiMeetWindowState.y,
width: jitsiMeetWindowState.width,
height: jitsiMeetWindowState.height,
icon: path.resolve(basePath, './resources/icons/icon_512x512.png'),
minWidth: 800,
minHeight: 600,
show: false,

2037
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -2,16 +2,58 @@
"name": "jitsi-meet-electron",
"version": "0.0.0",
"description": "Electron application for Jitsi Meet",
"main": "build/main.js",
"main": "./build/main.js",
"productName": "Jitsi Meet",
"scripts": {
"start": "webpack --config ./webpack.config.js --mode development && electron ./build/main.js",
"clean": "rm -rf node_modules",
"clean": "rm -rf node_modules build dist",
"lint": "eslint . && flow",
"pack": "webpack --config ./webpack.config.js --mode production && electron-packager .",
"postinstall": "electron-rebuild",
"build": "webpack --config ./webpack.config.js --mode production",
"pack": "npm run build && electron-builder --dir",
"dist": "npm run build && electron-builder",
"postinstall": "electron-builder install-app-deps",
"validate": "npm ls"
},
"build": {
"appId": "org.jitsi.jitsi-meet",
"productName": "Jitsi Meet",
"files": [
"**/*",
"resources",
"!app",
"!main.js"
],
"mac": {
"artifactName": "${productName}-${version}-${arch}.${ext}",
"category": "public.app-category.video",
"target": "dmg"
},
"linux": {
"artifactName": "${productName}-${version}-${arch}.${ext}",
"category": "VideoConference;AudioVideo;Audio;Video;Network",
"description": "Jitsi Meet Desktop App",
"executableName": "jitsi-meet",
"target": "AppImage"
},
"win": {
"target": [
{
"arch": [
"x64",
"ia32"
],
"target": "nsis"
}
]
},
"nsis": {
"allowToChangeInstallationDirectory": true,
"oneClick": false
},
"directories": {
"buildResources": "resources"
}
},
"pre-commit": [
"lint"
],
@ -26,7 +68,7 @@
"electron",
"jitsi-meet"
],
"author": "",
"author": "Jitsi Team <support@jitsi.org>",
"readmeFilename": "README.md",
"license": "Apache-2.0",
"dependencies": {
@ -69,9 +111,8 @@
"css-loader": "0.28.11",
"devtron": "1.4.0",
"electron": "2.0.3",
"electron-packager": "12.0.2",
"electron-builder": "20.19.1",
"electron-react-devtools": "0.5.3",
"electron-rebuild": "1.7.3",
"eslint": "4.12.1",
"eslint-config-jitsi": "github:jitsi/eslint-config-jitsi#v0.1.0",
"eslint-plugin-flowtype": "2.46.3",

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 737 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

Loading…
Cancel
Save