mirror of
https://github.com/LizardByte/Sunshine.git
synced 2024-11-16 23:10:13 +00:00
extension bugfix and default app_windows.json image-path fixed
This commit is contained in:
parent
f4344ade53
commit
59959d6397
@ -8,7 +8,7 @@
|
||||
|
||||
"output":"steam.txt",
|
||||
"detached":["steam steam://open/bigpicture"],
|
||||
"image_path":"./asset/steam.png"
|
||||
"image-path":"./asset/steam.png"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -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";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user