mirror of
https://gitlab.com/ryzen-controller-team/ryzen-controller.git
synced 2024-12-22 18:13:28 +07:00
fix: The app was unable to start in some case.
This commit is contained in:
parent
9f507bfa5d
commit
1eaeb29730
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user