mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-10 10:11:46 +00:00
21 lines
496 B
JavaScript
21 lines
496 B
JavaScript
const { setOptions } = require("./back.js");
|
|
|
|
module.exports = (_win, options) => [
|
|
{
|
|
label: "Save window position",
|
|
type: "checkbox",
|
|
checked: options.savePosition,
|
|
click: (item) => {
|
|
setOptions({ savePosition: item.checked });
|
|
},
|
|
},
|
|
{
|
|
label: "Save window size",
|
|
type: "checkbox",
|
|
checked: options.saveSize,
|
|
click: (item) => {
|
|
setOptions({ saveSize: item.checked });
|
|
},
|
|
}
|
|
];
|