Minor fixes from fucking up merge conflicts
This commit is contained in:
@@ -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';
|
||||
|
||||
@@ -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)
|
||||
});
|
||||
|
||||
Vendored
+1
@@ -19,6 +19,7 @@ declare global {
|
||||
visitorData: string
|
||||
) => Promise<string>;
|
||||
setAllowInsecureSSL: (allowInsecureSSL: boolean) => Promoise<boolean>;
|
||||
doUpdateCheck: (disableAutoUpdate: boolean) => Promise<void>;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user