mirror of
https://github.com/Gabi-Zar/Silk-Fly-Launcher.git
synced 2026-04-17 05:26:04 +02:00
Front end for adding thunderstore.
This commit is contained in:
@@ -56,3 +56,7 @@ contextBridge.exposeInMainWorld("mods", {
|
||||
activateMods: (modId) => ipcRenderer.invoke("activate-mod", modId),
|
||||
deactivateMods: (modId) => ipcRenderer.invoke("deactivate-mod", modId),
|
||||
});
|
||||
|
||||
contextBridge.exposeInMainWorld("thunderstore", {
|
||||
search: (keywords, offset, count, sortFilter, sortOrder) => ipcRenderer.invoke("search-thunderstore-mods", keywords, offset, count, sortFilter, sortOrder),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user