summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-05-10 22:40:13 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-05-10 22:40:13 -0400
commit9b09941bd53dff2bf47c9fa8b5afffe267b01aaf (patch)
treea52954d36e516503974543d8c9029f9f16cefddd
parent4ac04ee3aca00f7c1e105ddabd1ed16995b17086 (diff)
downloadSMAPI-9b09941bd53dff2bf47c9fa8b5afffe267b01aaf.tar.gz
SMAPI-9b09941bd53dff2bf47c9fa8b5afffe267b01aaf.tar.bz2
SMAPI-9b09941bd53dff2bf47c9fa8b5afffe267b01aaf.zip
set script path in Windows launch script (#777)
-rw-r--r--docs/release-notes.md3
-rw-r--r--src/SMAPI.Installer/assets/windows-install.bat1
2 files changed, 4 insertions, 0 deletions
diff --git a/docs/release-notes.md b/docs/release-notes.md
index f3440d43..304423fc 100644
--- a/docs/release-notes.md
+++ b/docs/release-notes.md
@@ -8,6 +8,9 @@
-->
## Upcoming release
+* For players:
+ * Fixed error when running the Windows installer as administrator (thanks to LostLogic!).
+
* For mod authors:
* Added validation for the manifest `Dependencies` field.
* Fixed validation for mods with version `0.0.0`.
diff --git a/src/SMAPI.Installer/assets/windows-install.bat b/src/SMAPI.Installer/assets/windows-install.bat
index 2cc54e80..18c40a64 100644
--- a/src/SMAPI.Installer/assets/windows-install.bat
+++ b/src/SMAPI.Installer/assets/windows-install.bat
@@ -4,5 +4,6 @@ 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
)