pytrainer: unpin python 3.10
[NixPkgs.git] / pkgs / tools / misc / flexoptix-app / disable-autoupdate.patch
blobd71133951e72681c423a0621d2e793e6ce4ab5ca
1 --- app/electron/jsComponents/mainWindowEvents.js 2024-02-18 12:53:41.115773007 -0500
2 +++ app/electron/jsComponents/mainWindowEvents.js2 2024-02-18 23:22:20.003280203 -0500
3 @@ -128,7 +128,12 @@
5 if (app.isPackaged) {
6 global.mainWindow.webContents.once("did-finish-load", function () {
7 - autoUpdater.checkForUpdates();
8 + global.mainWindow.loadURL(
9 + url.format({
10 + ...global.APPLICATION_URL_OBJECT,
11 + slashes: true,
12 + }),
13 + );
14 });
15 } else {
16 global.mainWindow.webContents.openDevTools();