mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-18 06:07:48 +00:00
feat: updates
This commit is contained in:
parent
9971418b8c
commit
bbcf1f9340
19 changed files with 306 additions and 15 deletions
7
src/renderer/global.d.ts
vendored
7
src/renderer/global.d.ts
vendored
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue