mirror of
https://github.com/Gabi-Zar/Silk-Fly-Launcher.git
synced 2026-04-17 05:26:04 +02:00
Add support for searching and downloading mods from Thunderstore
This commit is contained in:
@@ -65,4 +65,5 @@ contextBridge.exposeInMainWorld("mods", {
|
||||
|
||||
contextBridge.exposeInMainWorld("thunderstore", {
|
||||
search: (keywords, offset, count, sortFilter, sortOrder) => ipcRenderer.invoke("search-thunderstore-mods", keywords, offset, count, sortFilter, sortOrder),
|
||||
download: (url, modId) => ipcRenderer.invoke("download-thunderstore-mods", url, modId),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user