mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-25 10:46:51 +01:00
Put extra file paths in quotes so whitespace is allowed in paths
This commit is contained in:
parent
56dd7b9bf7
commit
cb0df61e89
@ -202,10 +202,10 @@ namespace DS4Windows
|
||||
w.WriteLine("@echo off"); // Turn off echo
|
||||
w.WriteLine("@echo Attempting to replace updater, please wait...");
|
||||
// Move temp downloaded file to destination
|
||||
w.WriteLine($"@mov /Y \"{tmpUpdaterPath}\" {Global.exedirpath}\\DS4Updater.exe");
|
||||
w.WriteLine($"@mov /Y \"{tmpUpdaterPath}\" \"{Global.exedirpath}\\DS4Updater.exe\"");
|
||||
if (deleteUpdatesDir)
|
||||
{
|
||||
w.WriteLine($"@del /S {Global.exedirpath}\\Update Files\\DS4Windows");
|
||||
w.WriteLine($"@del /S \"{Global.exedirpath}\\Update Files\\DS4Windows\"");
|
||||
}
|
||||
w.WriteLine("@DEL \"%~f0\""); // Attempt to delete myself without opening a time paradox.
|
||||
w.Close();
|
||||
|
Loading…
Reference in New Issue
Block a user