desktopautoupdate
bunsenstraat 1 year ago
parent 54e5254dfb
commit 8651ac2909
  1. 2
      apps/remixdesktop/package.json
  2. 3
      apps/remixdesktop/src/plugins/appUpdater.ts

@ -1,6 +1,6 @@
{ {
"name": "remixdesktop", "name": "remixdesktop",
"version": "0.0.20-Alpha", "version": "0.0.21-Alpha",
"main": "build/main.js", "main": "build/main.js",
"license": "MIT", "license": "MIT",
"type": "commonjs", "type": "commonjs",

@ -16,6 +16,7 @@ export class AppUpdaterPlugin extends ElectronBasePlugin {
this.methods = [...super.methods] this.methods = [...super.methods]
autoUpdater.autoDownload = false autoUpdater.autoDownload = false
autoUpdater.disableDifferentialDownload = false
autoUpdater.on('checking-for-update', () => { autoUpdater.on('checking-for-update', () => {
console.log('Checking for update...'); console.log('Checking for update...');
@ -99,7 +100,7 @@ class AppUpdaterPluginClient extends ElectronBasePluginClient {
} }
async install(): Promise<void> { async install(): Promise<void> {
autoUpdater.quitAndInstall() autoUpdater.quitAndInstall(true, true)
} }
async checkForUpdates(): Promise<void> { async checkForUpdates(): Promise<void> {

Loading…
Cancel
Save