mirror of
https://github.com/Mastermindzh/tidal-hifi.git
synced 2025-05-10 13:03:03 +02:00
* Implement minimzed action to hide the application on close instead of closing it. * Add close event on the tray icon * Add all items in the menu (not only Show/Close app) * Changes on mainWindow. Toggle instead of Open/Close pair button
33 lines
703 B
JavaScript
33 lines
703 B
JavaScript
/**
|
|
* Object to type my settings file:
|
|
*
|
|
* notifications: true,
|
|
* api: true,
|
|
* apiSettings: {
|
|
* port: 47836,
|
|
* },
|
|
* windowBounds: { width: 800, height: 600 },
|
|
*/
|
|
const settings = {
|
|
notifications: "notifications",
|
|
api: "api",
|
|
menuBar: "menuBar",
|
|
playBackControl: "playBackControl",
|
|
apiSettings: {
|
|
root: "apiSettings",
|
|
port: "apiSettings.port",
|
|
},
|
|
mpris: "mpris",
|
|
enableCustomHotkeys: "enableCustomHotkeys",
|
|
trayIcon: "trayIcon",
|
|
enableDiscord: "enableDiscord",
|
|
windowBounds: {
|
|
root: "windowBounds",
|
|
width: "windowBounds.width",
|
|
height: "windowBounds.height",
|
|
},
|
|
minimizeOnClose: "minimizeOnClose",
|
|
};
|
|
|
|
module.exports = settings;
|