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:
10
main.js
10
main.js
@@ -401,7 +401,7 @@ ipcMain.handle("delete-bepinex-backup", async () => {
|
||||
});
|
||||
|
||||
//////////////////////////////////////////////////////
|
||||
/////////////////////// NEXUS ////////////////////////
|
||||
//////////////// NEXUS / THUNDERSTORE ////////////////
|
||||
|
||||
async function createNexus(api) {
|
||||
if (api == undefined) {
|
||||
@@ -576,6 +576,14 @@ async function searchNexusMods(keywords, offset = 0, count = 10, sortFilter = "d
|
||||
onlineTotalModsCount = data.mods.totalCount;
|
||||
}
|
||||
|
||||
ipcMain.handle("search-thunderstore-mods", async (event, keywords, offset, count, sortFilter, sortOrder) => {
|
||||
searchThunderstoreMods(keywords, offset, count, sortFilter, sortOrder);
|
||||
});
|
||||
|
||||
async function searchThunderstoreMods(keywords, offset = 0, count = 10, sortFilter = "downloads", sortOrder = "DESC") {
|
||||
console.log("WIP");
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////
|
||||
//////////////////////// MODS ////////////////////////
|
||||
|
||||
|
||||
Reference in New Issue
Block a user