summaryrefslogtreecommitdiff
path: root/src/SMAPI.Installer/assets/windows-install.bat
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-06-11 18:39:38 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-06-11 18:39:38 -0400
commitc212ff15d28ead57588e130247e9bbfd0b3eab0d (patch)
tree633993041e138a4a49dcc5d0764be77b650b5885 /src/SMAPI.Installer/assets/windows-install.bat
parentdfa3beb6a6ba09d350aecc5bc3a8db3f2bd99ab7 (diff)
downloadSMAPI-c212ff15d28ead57588e130247e9bbfd0b3eab0d.tar.gz
SMAPI-c212ff15d28ead57588e130247e9bbfd0b3eab0d.tar.bz2
SMAPI-c212ff15d28ead57588e130247e9bbfd0b3eab0d.zip
fix installer error for some Windows players
Diffstat (limited to 'src/SMAPI.Installer/assets/windows-install.bat')
-rw-r--r--src/SMAPI.Installer/assets/windows-install.bat5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/SMAPI.Installer/assets/windows-install.bat b/src/SMAPI.Installer/assets/windows-install.bat
index 18c40a64..2cd98554 100644
--- a/src/SMAPI.Installer/assets/windows-install.bat
+++ b/src/SMAPI.Installer/assets/windows-install.bat
@@ -1,9 +1,8 @@
@echo off
-echo %~dp0 | findstr /C:"%TEMP%" 1>nul
+echo "%~dp0" | findstr /C:"%TEMP%" 1>nul
if not errorlevel 1 (
echo Oops! It looks like you're running the installer from inside a zip file. Make sure you unzip the download first.
pause
) else (
- cd "%~dp0"
- start /WAIT /B ./internal/windows-install.exe
+ start /WAIT /B internal\windows-install.exe
)