add skip existing files option

This commit is contained in:
Araxeus
2023-03-04 15:17:54 +02:00
parent cd41f093be
commit 7b3280c12b
2 changed files with 31 additions and 14 deletions

View File

@ -37,5 +37,14 @@ module.exports = (win, options) => {
checked: options.preset === preset,
})),
},
{
label: "Skip existing files",
type: "checkbox",
checked: options.skipExisting,
click: () => {
options.skipExisting = !options.skipExisting;
setMenuOptions("downloader", options);
}
}
];
};