mirror of
https://github.com/usatiuk/door-thing.git
synced 2025-10-26 11:17:47 +01:00
save settings to proper directory
This commit is contained in:
@@ -6,7 +6,7 @@ interface ISettings {
|
|||||||
autoConnect: boolean;
|
autoConnect: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
const settingsPath = path.join(app.getPath("appData"), "settings.json");
|
const settingsPath = path.join(app.getPath("userData"), "settings.json");
|
||||||
const settings = new Low<ISettings>(new JSONFile(settingsPath));
|
const settings = new Low<ISettings>(new JSONFile(settingsPath));
|
||||||
const settingsRead = false;
|
const settingsRead = false;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user