mirror of
https://github.com/Gabi-Zar/Silk-Fly-Launcher.git
synced 2026-04-17 05:26:04 +02:00
add auto path detection
This commit is contained in:
@@ -11,4 +11,8 @@ contextBridge.exposeInMainWorld('save', {
|
||||
ipcRenderer.invoke('save-path', path),
|
||||
loadSilksongPath: () =>
|
||||
ipcRenderer.invoke('load-path')
|
||||
})
|
||||
})
|
||||
|
||||
contextBridge.exposeInMainWorld('files', {
|
||||
fileExists: (path) => ipcRenderer.invoke('file-exists', path)
|
||||
});
|
||||
Reference in New Issue
Block a user