Loading Bar taskbar

This commit is contained in:
MasterAcnolo
2025-11-15 23:52:43 +01:00
parent 91703d6a91
commit e3845e1849
4 changed files with 14 additions and 2 deletions

View File

@@ -76,6 +76,11 @@ ipcMain.handle("select-download-folder", async () => {
ipcMain.handle("get-default-download-path", () => defaultDownloadPath);
ipcMain.on("set-progress", (event, percent) => {
mainWindow.setProgressBar(percent / 100); // Electron attend 0 → 1
});
function setupMenu() {
const menuTemplate = [
{