mirror of
https://github.com/Mastermindzh/tidal-hifi.git
synced 2025-08-03 19:41:28 +02:00
now using electron-store to save settings between launches
This commit is contained in:
25
src/constants/settings.js
Normal file
25
src/constants/settings.js
Normal file
@@ -0,0 +1,25 @@
|
||||
/**
|
||||
* Object to type my settings file:
|
||||
*
|
||||
* notifications: true,
|
||||
* api: true,
|
||||
* apiSettings: {
|
||||
* port: 47836,
|
||||
* },
|
||||
* windowBounds: { width: 800, height: 600 },
|
||||
*/
|
||||
const settings = {
|
||||
notifications: "notifications",
|
||||
api: "api",
|
||||
apiSettings: {
|
||||
root: "apiSettings",
|
||||
port: "apiSettings.port",
|
||||
},
|
||||
windowBounds: {
|
||||
root: "windowBounds",
|
||||
width: "windowBounds.width",
|
||||
height: "windowBounds.height",
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = settings;
|
Reference in New Issue
Block a user