mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 02:31:45 +00:00
Refactor config for simpler use and advanced options in plugins
This commit is contained in:
28
config/defaults.js
Normal file
28
config/defaults.js
Normal file
@ -0,0 +1,28 @@
|
||||
const defaultConfig = {
|
||||
"window-size": {
|
||||
width: 1100,
|
||||
height: 550,
|
||||
},
|
||||
url: "https://music.youtube.com",
|
||||
options: {
|
||||
tray: false,
|
||||
appVisible: true,
|
||||
autoUpdates: true,
|
||||
hideMenu: false,
|
||||
startAtLogin: false,
|
||||
disableHardwareAcceleration: false,
|
||||
},
|
||||
plugins: {
|
||||
navigation: {
|
||||
enabled: true,
|
||||
},
|
||||
shortcuts: {
|
||||
enabled: true,
|
||||
},
|
||||
adblocker: {
|
||||
enabled: true,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = defaultConfig;
|
||||
Reference in New Issue
Block a user