Fixing minor bugs

pull/9/head
aandrew-me 3 years ago
parent aca0efeabe
commit 74db1be7df

@ -19,11 +19,11 @@ function createWindow() {
} }
}); });
win.loadFile("./html/index.html") win.loadFile("html/index.html")
win.maximize(); win.maximize();
win.setMenu(null) win.setMenu(null)
win.show(); win.show();
// win.webContents.openDevTools() win.webContents.openDevTools()
autoUpdater.checkForUpdatesAndNotify(); autoUpdater.checkForUpdatesAndNotify();
} }

@ -42,7 +42,9 @@
"./html/**/*", "./html/**/*",
"./resources/**/*", "./resources/**/*",
"./public/**/*", "./public/**/*",
"package.json" "package.json",
"./assets/**/*",
"./src/**/*"
], ],
"mac": { "mac": {
"category": "Utility", "category": "Utility",

@ -285,7 +285,7 @@ function download(type) {
getId("videoProgressBox").style.display = getId("videoProgressBox").style.display =
"block"; "block";
getId("preparingBox").style.display = "none"; getId("preparingBox").style.display = "none";
getId("videoProgress").value = progress; getId("videoProgress").value = videoProgress;
} }
if (videoProgress == 100) { if (videoProgress == 100) {
resolve("video downloaded"); resolve("video downloaded");
@ -305,7 +305,7 @@ function download(type) {
if (audioProgress != 100) { if (audioProgress != 100) {
getId("preparingBox").style.display = "none"; getId("preparingBox").style.display = "none";
getId("audioProgress").value = progress; getId("audioProgress").value = audioProgress;
} else if (audioProgress == 100) { } else if (audioProgress == 100) {
resolve("audio downloaded"); resolve("audio downloaded");
} }

Loading…
Cancel
Save