pull/5370/head
bunsenstraat 10 months ago
parent 007fcd7a5b
commit e9f9b40e32
  1. 4
      apps/remixdesktop/src/plugins/appUpdater.ts

@ -1,6 +1,7 @@
import { ElectronBasePlugin, ElectronBasePluginClient } from "@remixproject/plugin-electron"
import { Profile } from "@remixproject/plugin-utils"
import { autoUpdater } from "electron-updater"
import { app } from 'electron';
const profile = {
displayName: 'appUpdater',
@ -100,7 +101,8 @@ class AppUpdaterPluginClient extends ElectronBasePluginClient {
}
async install(): Promise<void> {
autoUpdater.quitAndInstall(true, true)
autoUpdater.quitAndInstall()
app.exit()
}
async checkForUpdates(): Promise<void> {

Loading…
Cancel
Save