From 3de622ceb9b420f6524706fa246307c30f79b4d5 Mon Sep 17 00:00:00 2001 From: Quentin Decaunes Date: Thu, 28 Feb 2019 18:40:22 +0100 Subject: [PATCH] Avoid removing other settings when saving ryzenadj exe path. --- js/methods.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/methods.js b/js/methods.js index a480530..34d6322 100644 --- a/js/methods.js +++ b/js/methods.js @@ -130,6 +130,7 @@ function askingForRyzenAdjExecutablePath() { if (typeof filePaths[0] !== 'undefined') { const settings = require('electron-settings'); settings.set("settings", { + ...settings.get('settings'), ryzen_adj_path: filePaths[0] }); notification('primary', 'Path to ryzenAdj.exe has been saved.');