Skip to content

Commit

Permalink
upgrade: electron 8.2.0 and builder 22.4.1 (#14)
Browse files Browse the repository at this point in the history
* upgrade: electron 7

* add no-sandbox

* upgrade electron and electron-builder

* upgrade: electron 8.2.0 and builder 22.4.1

* update app uri

* fix: linux icon issue
  • Loading branch information
embbnux committed Mar 26, 2020
1 parent 53a3e8e commit fada1b3
Show file tree
Hide file tree
Showing 12 changed files with 638 additions and 1,055 deletions.
2 changes: 1 addition & 1 deletion app.html
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
partition="persist:rcstorage"
allowpopups
id="rc-widget-adapter-frame"
src="https://ringcentral.github.io/ringcentral-embeddable/app.html?userAgent=RingCentralEmbeddableForLinux/0.1.2&disableConferenceCall=false&disableActiveCallControl=false"
src="https://ringcentral.github.io/ringcentral-embeddable/app.html?appVersion=0.1.3&userAgent=RingCentralEmbeddableForLinux/0.1.3&disableConferenceCall=false"
>
</webview>
</div>
Expand Down
11 changes: 6 additions & 5 deletions electron-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,10 @@ files:
- app.js
- preload.js
- header_logo.svg
- icon.png
- icon.icns
- build/icon.*
- icon.*
- icons/*
directories:
buildResources: build
buildResources: ./
output: release
publish:
-
Expand Down Expand Up @@ -39,4 +38,6 @@ linux:
- deb
- AppImage
category: Telephony
desktop: rc-ev.desktop
executableName: ringcentral-embeddable-voice
executableArgs:
- --no-sandbox
Binary file added icons/128x128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/256x256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/48x48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
const { app, BrowserWindow, ipcMain } = require('electron');

const singleInstanceLock = app.requestSingleInstanceLock();

if (!singleInstanceLock) {
Expand Down Expand Up @@ -28,6 +27,7 @@ function createMainWindow() {
},
frame: false,
show: false, // hidden the windown before loaded
icon: __dirname + '/icons/32x32.png',
});
// open dev tool default
if (process.env.DEBUG == 1) {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"package-all": "electron-builder -mwl"
},
"devDependencies": {
"electron": "^6.0.12",
"electron-builder": "^21.2.0"
"electron": "^8.2.0",
"electron-builder": "^22.4.1"
}
}
7 changes: 0 additions & 7 deletions rc-ev.desktop

This file was deleted.

Loading

0 comments on commit fada1b3

Please sign in to comment.