mirror of
https://github.com/Gabi-Zar/Silk-Fly-Launcher.git
synced 2026-04-17 05:26:04 +02:00
improve config panel and file saving/export/delete
This commit is contained in:
@@ -15,5 +15,8 @@ contextBridge.exposeInMainWorld('save', {
|
||||
|
||||
contextBridge.exposeInMainWorld('files', {
|
||||
fileExists: (path) => ipcRenderer.invoke('file-exists', path),
|
||||
userSavePath: () => ipcRenderer.invoke('get-userSavePath')
|
||||
userSavePath: () => ipcRenderer.invoke('get-userSavePath'),
|
||||
delete: (path) => ipcRenderer.invoke('delete-data', path),
|
||||
export: () => ipcRenderer.invoke('export-data'),
|
||||
import: (data) => ipcRenderer.invoke('import-data', data)
|
||||
});
|
||||
Reference in New Issue
Block a user