extension bugfix and default app_windows.json image-path fixed

This commit is contained in:
Christophe Fajardo 2022-02-01 23:14:05 +01:00
parent f4344ade53
commit 59959d6397
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@
"output":"steam.txt",
"detached":["steam steam://open/bigpicture"],
"image_path":"./asset/steam.png"
"image-path":"./asset/steam.png"
}
]
}

View File

@ -210,7 +210,7 @@ std::string proc_t::get_app_image(int app_id) {
boost::to_lower(image_extension);
std::error_code code;
if (!std::filesystem::exists(app_image_path, code) || image_extension != "png") {
if (!std::filesystem::exists(app_image_path, code) || image_extension != ".png") {
return SUNSHINE_ASSETS_DIR "/box.png";
}