diff --git a/include/stores/Steam/app_record.h b/include/stores/Steam/app_record.h index f02f7446..d71a68bd 100644 --- a/include/stores/Steam/app_record.h +++ b/include/stores/Steam/app_record.h @@ -174,7 +174,7 @@ struct app_record_s { CPUType cpu_type = CPUType::Common; Platform platforms = Platform::All; - std::wstring store = L"Steam"; + app_record_s::Store store = app_record_s::Store::Unspecified; std::wstring executable; std::wstring executable_path; std::wstring description; diff --git a/src/stores/Epic/epic_library.cpp b/src/stores/Epic/epic_library.cpp index 28382553..244b2ebb 100644 --- a/src/stores/Epic/epic_library.cpp +++ b/src/stores/Epic/epic_library.cpp @@ -145,7 +145,7 @@ SKIF_Epic_GetInstalledAppIDs (std::vector >* ap app_record_s::launch_config_s lc; lc.id = 0; lc.valid = true; - lc.store = L"Other"; + lc.store = app_record_s::Store::Other; lc.executable = szData; lc.working_dir = record.install_dir; diff --git a/src/stores/Steam/app_record.cpp b/src/stores/Steam/app_record.cpp index 2196b39b..c2821196 100644 --- a/src/stores/Steam/app_record.cpp +++ b/src/stores/Steam/app_record.cpp @@ -14,7 +14,7 @@ app_launch_config_s::getExecutableFullPath (int32_t appid, bool validate) { std::wstring exec_path = L""; - if (store == L"Steam") + if (store == app_record_s::Store::Steam) { // EA games using link2ea:// protocol handlers to launch games does not have an executable, // so this ensures we do not end up testing the installation folder instead (since this has diff --git a/src/stores/Steam/vdf.cpp b/src/stores/Steam/vdf.cpp index 884c4f93..3e82d06f 100644 --- a/src/stores/Steam/vdf.cpp +++ b/src/stores/Steam/vdf.cpp @@ -516,6 +516,7 @@ skValveDataFile::getAppInfo ( uint32_t appid ) auto& id = pAppRecord->id; auto& launch = launch_cfg.second; + launch.store = app_record_s::Store::Steam; launch.isBlacklisted (id); // File extension, so we can strip out non-executable ones diff --git a/src/stores/Xbox/xbox_library.cpp b/src/stores/Xbox/xbox_library.cpp index 40648aa8..3872c972 100644 --- a/src/stores/Xbox/xbox_library.cpp +++ b/src/stores/Xbox/xbox_library.cpp @@ -195,7 +195,7 @@ SKIF_Xbox_GetInstalledAppIDs (std::vector