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.setMenu(null)
win.show();
// win.webContents.openDevTools()
win.webContents.openDevTools()
autoUpdater.checkForUpdatesAndNotify();
}

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

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

Loading…
Cancel
Save