[EXPERIMENTAL] linux apps support
This commit is contained in:
parent
d4996988d9
commit
e7636afe3d
20 changed files with 1377 additions and 101 deletions
|
|
@ -41,6 +41,7 @@ contextBridge.exposeInMainWorld('plwl', {
|
|||
prefixesDelete: name => ipcRenderer.invoke('prefixes:delete', name),
|
||||
prefixesRename: (oldName, newName) => ipcRenderer.invoke('prefixes:rename', oldName, newName),
|
||||
prefixesSetDefault: name => ipcRenderer.invoke('prefixes:setDefault', name),
|
||||
prefixesResetLinuxConfig: name => ipcRenderer.invoke('prefixes:resetLinuxConfig', name),
|
||||
openwithTake: () => ipcRenderer.invoke('openwith:take'),
|
||||
openwithRun: payload => ipcRenderer.invoke('openwith:run', payload),
|
||||
openwithTexts: lang => ipcRenderer.invoke('openwith:texts', lang),
|
||||
|
|
@ -68,7 +69,10 @@ contextBridge.exposeInMainWorld('plwl', {
|
|||
gamesShortcutPaths: id => ipcRenderer.invoke('games:shortcutPaths', id),
|
||||
gamesPickFolder: () => ipcRenderer.invoke('games:pickFolder'),
|
||||
gamesPickPrefixFolder: prefix => ipcRenderer.invoke('games:pickPrefixFolder', prefix),
|
||||
gamesImport: (src, mode) => ipcRenderer.invoke('games:import', src, mode),
|
||||
gamesImport: (src, mode, kind) => ipcRenderer.invoke('games:import', src, mode, kind),
|
||||
gamesOpenDataFolder: id => ipcRenderer.invoke('games:openDataFolder', id),
|
||||
sandboxStatus: () => ipcRenderer.invoke('sandbox:status'),
|
||||
sandboxProbe: () => ipcRenderer.invoke('sandbox:probe'),
|
||||
gamesImportFromPrefix: (prefix, src) => ipcRenderer.invoke('games:importFromPrefix', prefix, src),
|
||||
gamesRun: id => ipcRenderer.invoke('games:run', id),
|
||||
gamesRunTool: (id, tool, args) => ipcRenderer.invoke('games:runTool', id, tool, args),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue