mirror of
https://github.com/microsoft/PowerToys
synced 2025-09-01 23:15:18 +00:00
[runner]Don't save settings on Settings app start (#25647)
This commit is contained in:
@@ -370,8 +370,6 @@ void run_settings_window(bool show_oobe_window, bool show_scoobe_window, std::op
|
||||
settings_theme = L"dark";
|
||||
}
|
||||
|
||||
GeneralSettings save_settings = get_general_settings();
|
||||
|
||||
// Arg 6: elevated status
|
||||
bool isElevated{ get_general_settings().isElevated };
|
||||
std::wstring settings_elevatedStatus = isElevated ? L"true" : L"false";
|
||||
@@ -397,10 +395,6 @@ void run_settings_window(bool show_oobe_window, bool show_scoobe_window, std::op
|
||||
|
||||
// Args 13, .... : Optional arguments depending on the options presented before. All by the same value.
|
||||
|
||||
// create general settings file to initialize the settings file with installation configurations like :
|
||||
// 1. Run on start up.
|
||||
PTSettingsHelper::save_general_settings(save_settings.to_json());
|
||||
|
||||
std::wstring executable_args = fmt::format(L"\"{}\" {} {} {} {} {} {} {} {} {} {} {}",
|
||||
executable_path,
|
||||
powertoys_pipe_name,
|
||||
|
Reference in New Issue
Block a user