Minor fixes from fucking up merge conflicts

This commit is contained in:
WardPearce
2025-07-21 14:38:51 +12:00
parent 3ed3d1c381
commit 4814914f99
3 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import {
setupElectronDeepLinking
} from '@capacitor-community/electron';
import type { MenuItemConstructorOptions } from 'electron';
import { app, ipcMain, MenuItem, session, webContents } from 'electron';
import { app, ipcMain, MenuItem, session } from 'electron';
import electronIsDev from 'electron-is-dev';
import unhandled from 'electron-unhandled';
import { autoUpdater } from 'electron-updater';
+3 -1
View File
@@ -8,5 +8,7 @@ contextBridge.exposeInMainWorld('electronAPI', {
ipcRenderer.invoke('generatePoToken', bgChallenge, requestKey, visitorData),
setAllowInsecureSSL: async (allow: boolean) => {
return await ipcRenderer.invoke('setAllowInsecureSSL', allow);
}
},
doUpdateCheck: (disableAutoUpdate: boolean) =>
ipcRenderer.invoke('doUpdateCheck', disableAutoUpdate)
});
+1
View File
@@ -19,6 +19,7 @@ declare global {
visitorData: string
) => Promise<string>;
setAllowInsecureSSL: (allowInsecureSSL: boolean) => Promoise<boolean>;
doUpdateCheck: (disableAutoUpdate: boolean) => Promise<void>;
};
}
}