mirror of
https://github.com/MasterAcnolo/Freedom-Loader.git
synced 2026-07-29 18:25:47 +02:00
Loading Bar taskbar
This commit is contained in:
5
main.js
5
main.js
@@ -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 = [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user