From 8f0e2371c6035e31798f22f3fdf0d02540f373cf Mon Sep 17 00:00:00 2001 From: bunsenstraat Date: Thu, 14 Mar 2024 10:23:58 +0100 Subject: [PATCH] do not update on e2e --- apps/remixdesktop/src/plugins/appUpdater.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/remixdesktop/src/plugins/appUpdater.ts b/apps/remixdesktop/src/plugins/appUpdater.ts index c75ac8e354..c7731e08fa 100644 --- a/apps/remixdesktop/src/plugins/appUpdater.ts +++ b/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() }) }