From 61040769ee68533cd95692b80ede4860634d2fe5 Mon Sep 17 00:00:00 2001 From: MasterAcnolo <68693319+MasterAcnolo@users.noreply.github.com> Date: Sun, 12 Apr 2026 21:40:13 +0200 Subject: [PATCH] Feat: Add "Theme Workshop" button and associated IPC handler for workshop access --- app/ipcHandlers.js | 3 +++ preload.js | 1 + public/index.html | 1 + public/script/topbar.js | 2 ++ 4 files changed, 7 insertions(+) diff --git a/app/ipcHandlers.js b/app/ipcHandlers.js index e2f8364..b80c20c 100644 --- a/app/ipcHandlers.js +++ b/app/ipcHandlers.js @@ -78,6 +78,9 @@ function registerIpcHandlers(getMainWindow) { ipcMain.on("open-wiki", () => shell.openExternal("https://masteracnolo.github.io/FreedomLoader/pages/wiki.html") ); + ipcMain.on("open-workshop", () => + shell.openExternal("https://masteracnolo.github.io/Freedom-Loader-Workshop") + ); ipcMain.on("open-config", () => shell.openPath(configFolderPath)); diff --git a/preload.js b/preload.js index 3f7e4fa..a136cc5 100644 --- a/preload.js +++ b/preload.js @@ -22,5 +22,6 @@ contextBridge.exposeInMainWorld("topbarAPI", { openWebsite: () => ipcRenderer.send("open-website"), openTheme: () => ipcRenderer.send("open-theme"), openWiki: () => ipcRenderer.send("open-wiki"), + openWorkshop: () => ipcRenderer.send("open-workshop"), openConfig: () => ipcRenderer.send("open-config") }); diff --git a/public/index.html b/public/index.html index 5c7323b..c27cd5e 100644 --- a/public/index.html +++ b/public/index.html @@ -23,6 +23,7 @@ +