add app and apps icons
This commit is contained in:
parent
e0173d410b
commit
7508811374
16 changed files with 554 additions and 7 deletions
|
|
@ -22,6 +22,12 @@ contextBridge.exposeInMainWorld('plgl', {
|
|||
gamesList: () => ipcRenderer.invoke('games:list'),
|
||||
gamesGet: id => ipcRenderer.invoke('games:get', id),
|
||||
gamesUpdate: (id, patch) => ipcRenderer.invoke('games:update', id, patch),
|
||||
gamesClearPlaytime: id => ipcRenderer.invoke('games:clearPlaytime', id),
|
||||
gamesSetIconFile: (id, p) => ipcRenderer.invoke('games:setIconFile', id, p),
|
||||
gamesExtractIcon: id => ipcRenderer.invoke('games:extractIcon', id),
|
||||
gamesAutoIcon: id => ipcRenderer.invoke('games:autoIcon', id),
|
||||
gamesIconPath: id => ipcRenderer.invoke('games:iconPath', id),
|
||||
gamesResetIcon: id => ipcRenderer.invoke('games:resetIcon', id),
|
||||
gamesRemove: id => ipcRenderer.invoke('games:remove', id),
|
||||
gamesPickFolder: () => ipcRenderer.invoke('games:pickFolder'),
|
||||
gamesImport: (src, mode) => ipcRenderer.invoke('games:import', src, mode),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue