fix error running installer from folder paths containing parentheses
This commit is contained in:
parent
3342502993
commit
f5a0dd1578
|
@ -1,6 +1,9 @@
|
|||
← [README](README.md)
|
||||
|
||||
# Release notes
|
||||
## Upcoming release
|
||||
* Fixed installer failing on Windows when run from the game folder.
|
||||
|
||||
## 3.13.0
|
||||
Released 30 November 2021 for Stardew Valley 1.5.5 or later.
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue