mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
Ensure there's a trailing path separator on upgrade command path
This commit is contained in:
@@ -241,6 +241,9 @@ struct UpgradeCommand : public Command
|
||||
{
|
||||
wstring wide_path = conv(parser.get<string>("path"));
|
||||
|
||||
if(wide_path.back() != '\\' && wide_path.back() != '/')
|
||||
wide_path += L'\\';
|
||||
|
||||
// Wait for UI to exit
|
||||
Sleep(3000);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user