diff --git a/app/renderer.js b/app/renderer.js index c5838fa..687a5fa 100644 --- a/app/renderer.js +++ b/app/renderer.js @@ -126,7 +126,7 @@ function update() if(result == 'downloaded') { $('.update').classList.add('install') $('.update').classList.remove('loading') - $('.update-message').innerText = 'Install Update & Restart' + $('.update-message').innerText = `Ready! Please Relaunch ${config.APP_NAME}` // 'Install Update & Restart' $('.app.tiny .collapse button').classList.add('install') $('.update.install').addEventListener('click', () => { diff --git a/app/templates/index.html b/app/templates/index.html index dfc46cb..c99d788 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -4,6 +4,7 @@ APP + diff --git a/app/updater.js b/app/updater.js index 4641e4d..f739ef0 100644 --- a/app/updater.js +++ b/app/updater.js @@ -35,6 +35,9 @@ function init() { app.dock.show() app.dock.bounce() app.dock.setBadge(' ') + + // temporary fix for Big Sur + autoUpdater.quitAndInstall() } if(!win.isVisible()) { @@ -77,7 +80,5 @@ function init() { function auto() { if(isDev) return - setInterval(() => { - autoUpdater.checkForUpdates() - }, config.UPDATER_CHECK_TIME) + setInterval(autoUpdater.checkForUpdates, config.UPDATER_CHECK_TIME) } diff --git a/app/window.js b/app/window.js index 2733160..1ab28cf 100644 --- a/app/window.js +++ b/app/window.js @@ -30,7 +30,8 @@ function init() { webPreferences: { preload: `${__dirname}/preload.js`, nodeIntegration: true, - enableRemoteModule: true + enableRemoteModule: true, + contextIsolation: false } }) diff --git a/package.json b/package.json index de6cd10..6db0356 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "hovrly", "productName": "Hovrly", - "version": "2.4.2", + "version": "2.4.3", "description": "Best partner for disctributed teams", "main": "app/index.js", "scripts": { @@ -11,7 +11,7 @@ "sign-dev-electron-app": "codesign --deep --force --verbose --sign - node_modules/electron/dist/Electron.app", "postinstall": "npm run sign-dev-electron-app" }, - "author": "Alexey Tarutin", + "author": "Treasy, OU", "private": true, "homepage": "https://github.com/tarutin/hovrly", "repository": { @@ -31,7 +31,7 @@ ], "license": "MIT", "devDependencies": { - "electron": "^10.1.2", + "electron": "13.1.0", "electron-builder": "22.10.4", "electron-notarize": "^1.0.0" },