summaryrefslogtreecommitdiff
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
parentdfa3beb6a6ba09d350aecc5bc3a8db3f2bd99ab7 (diff)
downloadSMAPI-c212ff15d28ead57588e130247e9bbfd0b3eab0d.tar.gz
SMAPI-c212ff15d28ead57588e130247e9bbfd0b3eab0d.tar.bz2
SMAPI-c212ff15d28ead57588e130247e9bbfd0b3eab0d.zip
fix installer error for some Windows players
-rw-r--r--docs/release-notes.md1
-rw-r--r--src/SMAPI.Installer/assets/windows-install.bat5
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/release-notes.md b/docs/release-notes.md
index 3475a26a..7ac1b518 100644
--- a/docs/release-notes.md
+++ b/docs/release-notes.md
@@ -20,6 +20,7 @@
* Fixed JSON schema for `i18n` files requiring the wrong value for the `$schema` field.
* Fixed validation for mods with version `0.0.0`.
* Fixed _loaded with custom settings_ trace log when using default settings.
+ * Fixed installer error on some older Windows systems (thanks to eddyballs!).
* For the web UI:
* Updated the JSON validator/schema for Content Patcher 1.23.
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
)