SMAPI - Stardew Modding API

SMAPI - Stardew Modding API

971k Downloads

Ignore mcs files

Pathoschild opened this issue ยท 1 comments

commented

Occasionally Mac creates a special mcs file in the installer folder, which confuses the SMAPI installer:

Unhandled Exception:
System.IO.FileNotFoundException: Could not find file "/Users/---/Desktop/SMAPI 2.1 installer/internal/Mono/mcs" or "/Users/---/Library/Application Support/Steam/steamapps/common/Stardew Valley/Contents/MacOS/mcs"
File name: '/Users/---/Desktop/SMAPI 2.1 installer/internal/Mono/mcs" or "/Users/---/Library/Application Support/Steam/steamapps/common/Stardew Valley/Contents/MacOS/mcs'
  at System.IO.File.InternalCopy (System.String sourceFileName, System.String destFileName, System.Boolean overwrite, System.Boolean checkHost) [0x00036] in <4fdc5ed61a074cafb49fa42deb20d521>:0 
  at System.IO.FileInfo.CopyTo (System.String destFileName) [0x00035] in <4fdc5ed61a074cafb49fa42deb20d521>:0 
  at (wrapper remoting-invoke-with-check) System.IO.FileInfo:CopyTo (string)
  at StardewModdingApi.Installer.InteractiveInstaller.Run (System.String[] args) [0x003d1] in
<9164c5e0c8ca40b1a5537b294c6e3a86>:0 
  at StardewModdingApi.Installer.Program.Main (System.String[] args) [0x00005] in <9164c5e0c8ca40b1a5537b294c6e3a86>:0 

Make sure any mcs file is ignored.

commented

Fixed in develop for the upcoming SMAPI 2.2.