feat: updates

This commit is contained in:
qier222 2022-04-04 17:51:07 +08:00
parent 9971418b8c
commit bbcf1f9340
No known key found for this signature in database
GPG key ID: 9C85007ED905F14D
19 changed files with 306 additions and 15 deletions

View file

@ -4,7 +4,12 @@ declare global {
interface Window {
// Expose some Api through preload script
ipcRenderer?: import('electron').IpcRenderer
isElectron?: boolean
env?: {
isElectron: boolean
isLinux: boolean
isMac: boolean
isWin: boolean
}
}
}