do not update on e2e

pull/5370/head
bunsenstraat 8 months ago
parent e99883ff9f
commit 8f0e2371c6
  1. 2
      apps/remixdesktop/src/plugins/appUpdater.ts

@ -2,6 +2,7 @@ import { ElectronBasePlugin, ElectronBasePluginClient } from "@remixproject/plug
import { Profile } from "@remixproject/plugin-utils"
import { autoUpdater } from "electron-updater"
import { app } from 'electron';
import { isE2E } from "src/main";
const profile = {
displayName: 'appUpdater',
@ -85,6 +86,7 @@ class AppUpdaterPluginClient extends ElectronBasePluginClient {
this.onload(async () => {
console.log('onload', 'appUpdaterPluginClient')
this.emit('loaded')
if(isE2E) return
await this.checkForUpdates()
})
}

Loading…
Cancel
Save