🚀 Added function to toggle resuming of last song when app starts

This commit is contained in:
Nico Nowakowski
2021-03-04 14:14:49 +01:00
parent 5641c3fc87
commit 9aaae7b2d9
3 changed files with 11 additions and 1 deletions

View File

@ -66,6 +66,14 @@ const mainMenuTemplate = (win) => [
config.set("options.autoResetAppCache", item.checked);
},
},
{
label: "Resume last song when app starts",
type: "checkbox",
checked: config.get("options.resumeSongOnStart"),
click: (item) => {
config.set("options.resumeSongOnStart", item.checked);
}
},
...(is.windows() || is.linux()
? [
{