mirror of
https://github.com/Mastermindzh/tidal-hifi.git
synced 2024-11-22 05:23:09 +01:00
Bump electron version (#152)
This commit is contained in:
parent
8f47756244
commit
7b18322e17
@ -1,7 +1,7 @@
|
||||
appId: com.rickvanlieshout.tidal-hifi
|
||||
electronVersion: 15.5.2
|
||||
electronVersion: 19.0.5
|
||||
electronDownload:
|
||||
version: 15.5.2-wvvmp
|
||||
version: 19.0.5+wvcus
|
||||
mirror: https://github.com/castlabs/electron-releases/releases/download/v
|
||||
snap:
|
||||
plugs:
|
||||
|
511
package-lock.json
generated
511
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -34,8 +34,8 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@mastermindzh/prettier-config": "^1.0.0",
|
||||
"electron": "git+https://github.com/castlabs/electron-releases.git#v15.5.2-wvvmp",
|
||||
"electron-builder": "^22.14.5",
|
||||
"electron": "git+https://github.com/castlabs/electron-releases.git#v19.0.5+wvcus",
|
||||
"electron-builder": "^23.2.0",
|
||||
"prettier": "^2.5.0"
|
||||
},
|
||||
"prettier": "@mastermindzh/prettier-config"
|
||||
|
@ -1,5 +1,5 @@
|
||||
require("@electron/remote/main").initialize();
|
||||
const { app, BrowserWindow, globalShortcut, ipcMain } = require("electron");
|
||||
const { app, BrowserWindow, components, globalShortcut, ipcMain } = require("electron");
|
||||
const {
|
||||
settings,
|
||||
store,
|
||||
@ -124,8 +124,9 @@ function addGlobalShortcuts() {
|
||||
// This method will be called when Electron has finished
|
||||
// initialization and is ready to create browser windows.
|
||||
// Some APIs can only be used after this event occurs.
|
||||
app.on("ready", () => {
|
||||
app.on("ready", async () => {
|
||||
if (isMainInstanceOrMultipleInstancesAllowed()) {
|
||||
await components.whenReady();
|
||||
createWindow();
|
||||
addMenu();
|
||||
createSettingsWindow();
|
||||
|
Loading…
Reference in New Issue
Block a user