mirror of
https://github.com/Mastermindzh/tidal-hifi.git
synced 2025-09-12 06:39:38 +02:00
now using electron-store to save settings between launches
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
const express = require("express");
|
||||
const { mediaInfo } = require("./mediaInfo");
|
||||
const settingsModule = require("./settings");
|
||||
const { store, settings } = require("./settings");
|
||||
const globalEvents = require("./../constants/globalEvents");
|
||||
const statuses = require("./../constants/statuses");
|
||||
|
||||
@@ -47,7 +47,7 @@ expressModule.run = function(mainWindow) {
|
||||
});
|
||||
});
|
||||
|
||||
expressApp.listen(settingsModule.settings.apiSettings.port, () => {});
|
||||
expressApp.listen(store.get(settings.apiSettings.port), () => {});
|
||||
};
|
||||
|
||||
module.exports = expressModule;
|
||||
|
Reference in New Issue
Block a user