mirror of
https://gitlab.com/ryzen-controller-team/ryzen-controller.git
synced 2024-12-22 18:13:28 +07:00
Avoid removing other settings when saving ryzenadj exe path.
This commit is contained in:
parent
b559b7d025
commit
3de622ceb9
@ -130,6 +130,7 @@ function askingForRyzenAdjExecutablePath() {
|
|||||||
if (typeof filePaths[0] !== 'undefined') {
|
if (typeof filePaths[0] !== 'undefined') {
|
||||||
const settings = require('electron-settings');
|
const settings = require('electron-settings');
|
||||||
settings.set("settings", {
|
settings.set("settings", {
|
||||||
|
...settings.get('settings'),
|
||||||
ryzen_adj_path: filePaths[0]
|
ryzen_adj_path: filePaths[0]
|
||||||
});
|
});
|
||||||
notification('primary', 'Path to ryzenAdj.exe has been saved.');
|
notification('primary', 'Path to ryzenAdj.exe has been saved.');
|
||||||
|
Loading…
Reference in New Issue
Block a user