summaryrefslogtreecommitdiff
path: root/src/prepare-install-package.targets
diff options
context:
space:
mode:
Diffstat (limited to 'src/prepare-install-package.targets')
-rw-r--r--src/prepare-install-package.targets3
1 files changed, 3 insertions, 0 deletions
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" />