pull/90/head
aandrew-me 4 years ago
parent 67404e3c3e
commit 13680166c6

@ -26,6 +26,7 @@ input[type="text"], .input{
.input{
width:70px;
font-size: larger;
padding:5px;
}
.prefBox, #pathConfig{

@ -270,7 +270,7 @@ input[type=number]::-webkit-outer-spin-button {
background-color: rgb(4, 207, 21);
color: white;
border: none;
border-bottom: 5.5px solid rgb(13, 133, 13);
border-bottom: 5.5px solid rgb(11, 158, 11);
font-size: large;
cursor: pointer;
display: inline-block;

@ -47,9 +47,9 @@ function download(type) {
// Config file
let configArg = "";
let configTxt = "";
if (localStorage.getItem("configPath")) {
configArg = "--config-location";
configTxt = localStorage.getItem("configPath");
if (localStorage.getItem("configPath")){
configArg = "--config-location"
configTxt = `"${localStorage.getItem("configPath")}"`
}
nameFormatting();

@ -667,7 +667,7 @@ function download(type) {
let configTxt = ""
if (localStorage.getItem("configPath")){
configArg = "--config-location"
configTxt = localStorage.getItem("configPath")
configTxt = `"${localStorage.getItem("configPath")}"`
}
const url = getId("url").value;
@ -792,7 +792,7 @@ function download(type) {
subLangs,
"--no-playlist",
configArg,
`"${configTxt}"`,
configTxt,
cookieArg,
browser,
`"${url}"`,
@ -821,7 +821,7 @@ function download(type) {
cookieArg,
browser,
configArg,
`"${configTxt}"`,
configTxt,
`"${url}"`,
],
{ shell: true, detached: false },
@ -846,7 +846,7 @@ function download(type) {
cookieArg,
browser,
configArg,
`"${configTxt}"`,
configTxt,
`"${url}"`,
],
{ shell: true, detached: false },
@ -1000,6 +1000,8 @@ function closeMenu() {
}, 50);
}
// Menu
getId("preferenceWin").addEventListener("click", () => {
closeMenu();
ipcRenderer.send("load-page", __dirname + "/preferences.html");

Loading…
Cancel
Save