mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-01-01 22:30:08 +01:00
Shortcuts: Try to create shortcut link path if it doesn't exist
This commit is contained in:
parent
c936de7c20
commit
7106bfcfb9
|
|
@ -104,7 +104,7 @@ namespace gui::utils
|
|||
}
|
||||
#endif
|
||||
|
||||
if (!fs::is_dir(link_path))
|
||||
if (!fs::is_dir(link_path) && !fs::create_dir(link_path))
|
||||
{
|
||||
sys_log.error("Failed to create shortcut. Folder does not exist: %s", link_path);
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue