diff options
-rw-r--r-- | lib/libgdiplus.dylib | bin | 0 -> 1202796 bytes | |||
-rw-r--r-- | release-notes.md | 5 | ||||
-rw-r--r-- | src/prepare-install-package.targets | 3 |
3 files changed, 6 insertions, 2 deletions
diff --git a/lib/libgdiplus.dylib b/lib/libgdiplus.dylib Binary files differnew file mode 100644 index 00000000..8a9676c8 --- /dev/null +++ b/lib/libgdiplus.dylib diff --git a/release-notes.md b/release-notes.md index 362b35e8..af535895 100644 --- a/release-notes.md +++ b/release-notes.md @@ -14,9 +14,10 @@ For mod developers: See [log](https://github.com/Pathoschild/SMAPI/compare/1.11...1.12). For players: -* SMAPI now recovers the game from mod draw errors to prevent a game crash. * The installer now lets you choose the install path if you have multiple copies of the game, instead of using the first path found. -* Fixed an issue where mods on Linux/Mac stopped working after the game saves. +* Fixed mod draw errors breaking the game. +* Fixed mods on Linux/Mac no longer working after the game saves. +* Fixed libgdiplus DLL-not-found errors on Linux/Mac when mods read PNG files. * Adopted pufferchick. For mod developers: diff --git a/src/prepare-install-package.targets b/src/prepare-install-package.targets index 709bd8d4..ce257cc2 100644 --- a/src/prepare-install-package.targets +++ b/src/prepare-install-package.targets @@ -33,6 +33,9 @@ <Copy Condition="$(OS) != 'Windows_NT'" SourceFiles="$(CompiledSmapiPath)\unix-launcher.sh" DestinationFiles="$(PackageInternalPath)\Mono\StardewModdingAPI" /> <Copy Condition="$(OS) != 'Windows_NT'" SourceFiles="$(CompiledSmapiPath)\steam_appid.txt" DestinationFolder="$(PackageInternalPath)\Mono" /> <Copy Condition="$(OS) != 'Windows_NT'" SourceFiles="@(CompiledMods)" DestinationFolder="$(PackageInternalPath)\Mono\Mods\%(RecursiveDir)" /> + + <!--copy Mono files needed by SMAPI on Linux/Mac --> + <Copy Condition="$(OS) != 'Windows_NT'" SourceFiles="$(SolutionDir)\..\lib\libgdiplus.dylib" DestinationFolder="$(PackageInternalPath)\Mono" /> <!-- copy SMAPI files for Windows --> <Copy Condition="$(OS) == 'Windows_NT'" SourceFiles="$(CompiledSmapiPath)\Mono.Cecil.dll" DestinationFolder="$(PackageInternalPath)\Windows" /> |