File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/NexusMods.Games.StardewValley/Installers Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ public override async ValueTask<InstallerResult> ExecuteAsync(
7676 var isUnix = targetOS . IsUnix ( ) ;
7777
7878 // NOTE(erri120): paths can be verified using Steam depots: https://steamdb.info/app/413150/depots/
79- RelativePath unixLauncherDirectory = targetOS . IsOSX
79+ RelativePath unixLauncherFile = targetOS . IsOSX
8080 ? "Contents/MacOS/StardewValley"
8181 : "StardewValley" ;
8282
@@ -122,7 +122,7 @@ public override async ValueTask<InstallerResult> ExecuteAsync(
122122 // https://github.com/Pathoschild/SMAPI/blob/5919337236650c6a0d7755863d35b2923a94775c/src/SMAPI.Installer/InteractiveInstaller.cs#L395-L425
123123 if ( isUnix && fileName . Equals ( "unix-launcher.sh" ) )
124124 {
125- to = new GamePath ( LocationId . Game , unixLauncherDirectory / fileName ) ;
125+ to = new GamePath ( LocationId . Game , unixLauncherFile ) ;
126126 }
127127
128128 // NOTE(erri120): The official installer doesn't replace "Stardew Valley.exe" with
You can’t perform that action at this time.
0 commit comments