diff options
| author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-05-03 12:28:05 -0400 |
|---|---|---|
| committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-05-03 12:28:05 -0400 |
| commit | 6557c5241bce0770c193dc5e47ac6bea1843916c (patch) | |
| tree | 7ddc474e9620a7699cbd64ad465fd034728f316b /src/prepare-install-package.targets | |
| parent | dfa4bbaa395cbcd3bc99d88b6d6066409ef1b013 (diff) | |
| download | SMAPI-6557c5241bce0770c193dc5e47ac6bea1843916c.tar.gz SMAPI-6557c5241bce0770c193dc5e47ac6bea1843916c.tar.bz2 SMAPI-6557c5241bce0770c193dc5e47ac6bea1843916c.zip | |
bundle libgdiplus into SMAPI on Linux/Mac to fix errors loading PNGs (#277)
Diffstat (limited to 'src/prepare-install-package.targets')
| -rw-r--r-- | src/prepare-install-package.targets | 3 |
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" /> |
