diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2021-11-30 20:18:17 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2021-11-30 20:18:17 -0500 |
commit | f5a0dd15781f652a04a0d6620433e594128dfd01 (patch) | |
tree | 9b4482e22403cbe911ae10685b84b4a558f91b3e /src/SMAPI.Installer | |
parent | 3342502993c39efec6734c68e4800d29073eeeec (diff) | |
download | SMAPI-f5a0dd15781f652a04a0d6620433e594128dfd01.tar.gz SMAPI-f5a0dd15781f652a04a0d6620433e594128dfd01.tar.bz2 SMAPI-f5a0dd15781f652a04a0d6620433e594128dfd01.zip |
fix error running installer from folder paths containing parentheses
Diffstat (limited to 'src/SMAPI.Installer')
-rw-r--r-- | src/SMAPI.Installer/assets/windows-install.bat | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SMAPI.Installer/assets/windows-install.bat b/src/SMAPI.Installer/assets/windows-install.bat index 2e0be906..f21679ae 100644 --- a/src/SMAPI.Installer/assets/windows-install.bat +++ b/src/SMAPI.Installer/assets/windows-install.bat @@ -1,6 +1,6 @@ @echo off -SET installerDir=%~dp0 +SET installerDir="%~dp0" REM make sure we're not running within a zip folder echo %installerDir% | findstr /C:"%TEMP%" 1>nul @@ -28,7 +28,7 @@ if %ERRORLEVEL% NEQ 0 ( ) REM make sure an antivirus hasn't deleted the installer DLL -if not exist "%installerDir%internal\windows\SMAPI.Installer.dll" ( +if not exist %installerDir%"internal\windows\SMAPI.Installer.dll" ( echo Oops! SMAPI is missing one of its files. Your antivirus might have deleted it. echo Missing file: %installerDir%internal\windows\SMAPI.Installer.dll echo. |