Configured electron-builder for app release
|
@ -6,4 +6,5 @@ Jitsi Meet*
|
||||||
# remaining JavaScript source code.
|
# remaining JavaScript source code.
|
||||||
!.eslintrc.js
|
!.eslintrc.js
|
||||||
|
|
||||||
build/
|
build/
|
||||||
|
dist/
|
|
@ -1,7 +1,7 @@
|
||||||
[ignore]
|
[ignore]
|
||||||
.*/node_modules/@atlaskit/.*/*.js.flow
|
<PROJECT_ROOT>/node_modules/@atlaskit/.*/*.js.flow
|
||||||
.*/build/.*
|
<PROJECT_ROOT>/build/.*
|
||||||
.*/node_modules/electron-packager/test/fixtures/infer-malformed-json/.*
|
<PROJECT_ROOT>/dist/.*
|
||||||
|
|
||||||
[include]
|
[include]
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
.*.tmp
|
.*.tmp
|
||||||
.remote-sync.json
|
.remote-sync.json
|
||||||
.sync-config.cson
|
.sync-config.cson
|
||||||
|
.electron
|
||||||
.electron-gyp
|
.electron-gyp
|
||||||
.npmrc
|
.npmrc
|
||||||
.idea
|
.idea
|
||||||
|
@ -15,6 +16,5 @@
|
||||||
node_modules/
|
node_modules/
|
||||||
npm-debug.log
|
npm-debug.log
|
||||||
|
|
||||||
Jitsi Meet*
|
|
||||||
|
|
||||||
build/
|
build/
|
||||||
|
dist/
|
||||||
|
|
1
main.js
|
@ -89,6 +89,7 @@ function createJitsiMeetWindow() {
|
||||||
y: jitsiMeetWindowState.y,
|
y: jitsiMeetWindowState.y,
|
||||||
width: jitsiMeetWindowState.width,
|
width: jitsiMeetWindowState.width,
|
||||||
height: jitsiMeetWindowState.height,
|
height: jitsiMeetWindowState.height,
|
||||||
|
icon: path.resolve(basePath, './resources/icons/icon_512x512.png'),
|
||||||
minWidth: 800,
|
minWidth: 800,
|
||||||
minHeight: 600,
|
minHeight: 600,
|
||||||
show: false,
|
show: false,
|
||||||
|
|
55
package.json
|
@ -2,16 +2,58 @@
|
||||||
"name": "jitsi-meet-electron",
|
"name": "jitsi-meet-electron",
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"description": "Electron application for Jitsi Meet",
|
"description": "Electron application for Jitsi Meet",
|
||||||
"main": "build/main.js",
|
"main": "./build/main.js",
|
||||||
"productName": "Jitsi Meet",
|
"productName": "Jitsi Meet",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "webpack --config ./webpack.config.js --mode development && electron ./build/main.js",
|
"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",
|
"lint": "eslint . && flow",
|
||||||
"pack": "webpack --config ./webpack.config.js --mode production && electron-packager .",
|
"build": "webpack --config ./webpack.config.js --mode production",
|
||||||
"postinstall": "electron-rebuild",
|
"pack": "npm run build && electron-builder --dir",
|
||||||
|
"dist": "npm run build && electron-builder",
|
||||||
|
"postinstall": "electron-builder install-app-deps",
|
||||||
"validate": "npm ls"
|
"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": [
|
"pre-commit": [
|
||||||
"lint"
|
"lint"
|
||||||
],
|
],
|
||||||
|
@ -26,7 +68,7 @@
|
||||||
"electron",
|
"electron",
|
||||||
"jitsi-meet"
|
"jitsi-meet"
|
||||||
],
|
],
|
||||||
"author": "",
|
"author": "Jitsi Team <support@jitsi.org>",
|
||||||
"readmeFilename": "README.md",
|
"readmeFilename": "README.md",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -69,9 +111,8 @@
|
||||||
"css-loader": "0.28.11",
|
"css-loader": "0.28.11",
|
||||||
"devtron": "1.4.0",
|
"devtron": "1.4.0",
|
||||||
"electron": "2.0.3",
|
"electron": "2.0.3",
|
||||||
"electron-packager": "12.0.2",
|
"electron-builder": "20.19.1",
|
||||||
"electron-react-devtools": "0.5.3",
|
"electron-react-devtools": "0.5.3",
|
||||||
"electron-rebuild": "1.7.3",
|
|
||||||
"eslint": "4.12.1",
|
"eslint": "4.12.1",
|
||||||
"eslint-config-jitsi": "github:jitsi/eslint-config-jitsi#v0.1.0",
|
"eslint-config-jitsi": "github:jitsi/eslint-config-jitsi#v0.1.0",
|
||||||
"eslint-plugin-flowtype": "2.46.3",
|
"eslint-plugin-flowtype": "2.46.3",
|
||||||
|
|
After Width: | Height: | Size: 57 KiB |
After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 737 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 33 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 3.5 KiB |
After Width: | Height: | Size: 63 KiB |
After Width: | Height: | Size: 5.2 KiB |
After Width: | Height: | Size: 9.0 KiB |