summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/lib/System.Numerics.dllbin0 -> 54272 bytes
-rw-r--r--build/lib/System.Runtime.Caching.dllbin0 -> 71168 bytes
-rw-r--r--build/prepare-install-package.targets7
3 files changed, 6 insertions, 1 deletions
diff --git a/build/lib/System.Numerics.dll b/build/lib/System.Numerics.dll
new file mode 100644
index 00000000..fed0f92c
--- /dev/null
+++ b/build/lib/System.Numerics.dll
Binary files differ
diff --git a/build/lib/System.Runtime.Caching.dll b/build/lib/System.Runtime.Caching.dll
new file mode 100644
index 00000000..a062391d
--- /dev/null
+++ b/build/lib/System.Runtime.Caching.dll
Binary files differ
diff --git a/build/prepare-install-package.targets b/build/prepare-install-package.targets
index aeed101d..3a870bd2 100644
--- a/build/prepare-install-package.targets
+++ b/build/prepare-install-package.targets
@@ -7,7 +7,8 @@
-->
<Target Name="AfterBuild">
<PropertyGroup>
- <CompiledRootPath>$(SolutionDir)\..\bin\$(Configuration)</CompiledRootPath>
+ <RootPath>$(SolutionDir)\..</RootPath>
+ <CompiledRootPath>$(RootPath)\bin\$(Configuration)</CompiledRootPath>
<CompiledSmapiPath>$(CompiledRootPath)\SMAPI</CompiledSmapiPath>
<CompiledToolkitPath>$(CompiledRootPath)\SMAPI.Toolkit\net4.5</CompiledToolkitPath>
<PackagePath>$(SolutionDir)\..\bin\SMAPI installer</PackagePath>
@@ -53,6 +54,10 @@
<Copy Condition="$(OS) != 'Windows_NT'" SourceFiles="$(CompiledSmapiPath)\System.Numerics.dll" DestinationFolder="$(PackagePath)\bundle\smapi-internal" />
<Copy Condition="$(OS) != 'Windows_NT'" SourceFiles="$(CompiledSmapiPath)\System.Runtime.Caching.dll" DestinationFolder="$(PackagePath)\bundle\smapi-internal" />
+ <!-- fix errors on Linux/Mac (sample: https://log.smapi.io/mMdFUpgB) -->
+ <Copy Condition="$(OS) != 'Windows_NT'" SourceFiles="$(RootPath)\build\lib\System.Numerics.dll" DestinationFolder="$(PackagePath)\bundle\smapi-internal" />
+ <Copy Condition="$(OS) != 'Windows_NT'" SourceFiles="$(RootPath)\build\lib\System.Runtime.Caching.dll" DestinationFolder="$(PackagePath)\bundle\smapi-internal" />
+
<!-- fix Linux/Mac permissions -->
<Exec Condition="$(OS) != 'Windows_NT'" Command="chmod 755 &quot;$(PackagePath)\install on Linux.sh&quot;" />
<Exec Condition="$(OS) != 'Windows_NT'" Command="chmod 755 &quot;$(PackagePath)\install on Mac.command&quot;" />