From 9b09941bd53dff2bf47c9fa8b5afffe267b01aaf Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Mon, 10 May 2021 22:40:13 -0400 Subject: [PATCH] set script path in Windows launch script (#777) --- docs/release-notes.md | 3 +++ src/SMAPI.Installer/assets/windows-install.bat | 1 + 2 files changed, 4 insertions(+) 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 )