Use dynamic version in settings

Applies to https://github.com/microsoft/PowerToys/issues/736
This commit is contained in:
Bartosz Sosnowski
2019-11-19 22:32:36 +01:00
committed by Bartosz Sosnowski
parent af127468a6
commit 633784fae2
3 changed files with 3 additions and 2 deletions

View File

@@ -35,6 +35,7 @@ web::json::value get_general_settings() {
result.as_object()[L"theme"] = json::value::string(settings_theme);
result.as_object()[L"system_theme"] = json::value::string(WindowsColors::is_dark_mode() ? L"dark" : L"light");
result.as_object()[L"powertoys_version"] = json::value::string(get_product_version());
return result;
}