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