fix: The app was unable to start in some case.

This commit is contained in:
Quentin “Storm1er” Decaunes 2020-03-17 22:00:56 +00:00
parent 9f507bfa5d
commit 1eaeb29730

View File

@ -17,9 +17,9 @@ let tray;
upgrader();
const currentSettings = () => {
const localStorage = electronSettings.get(app_version_as_string);
const localStorage = electronSettings.get(`${app_version_as_string}.appContext.settings`);
if (localStorage) {
return localStorage.appContext.settings;
return localStorage;
}
return false;
};