mirror of
https://github.com/thomasnordquist/MQTT-Explorer.git
synced 2026-07-28 04:07:18 +00:00
Merge pull request #421 from jcwillox/patch-1
Simplify config path and increase portability
This commit is contained in:
+1
-1
@@ -33,7 +33,7 @@ log.info('App starting...')
|
||||
const connectionManager = new ConnectionManager()
|
||||
connectionManager.manageConnections()
|
||||
|
||||
const configStorage = new ConfigStorage(path.join(app.getPath('appData'), app.name, 'settings.json'))
|
||||
const configStorage = new ConfigStorage(path.join(app.getPath('userData'), 'settings.json'))
|
||||
configStorage.init()
|
||||
|
||||
// Keep a global reference of the window object, if you don't, the window will
|
||||
|
||||
Reference in New Issue
Block a user