extension bugfix and default app_windows.json image-path fixed
This commit is contained in:
parent
f4344ade53
commit
59959d6397
2 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue