diff options
| author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-06-01 19:59:00 -0400 |
|---|---|---|
| committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-06-01 19:59:00 -0400 |
| commit | e10147e7bda94a8fbc58684246628a6520d2c6b8 (patch) | |
| tree | 3135a4ef641192e42ee1f97b8c56fc9b76a52aee /build/windows | |
| parent | 0209e70695b6d12692d4de554ce1fc9d65ca4715 (diff) | |
| parent | 1cded44f7a5626a0d4f5c3ce48a83aa544d517c3 (diff) | |
| download | SMAPI-e10147e7bda94a8fbc58684246628a6520d2c6b8.tar.gz SMAPI-e10147e7bda94a8fbc58684246628a6520d2c6b8.tar.bz2 SMAPI-e10147e7bda94a8fbc58684246628a6520d2c6b8.zip | |
Merge branch 'develop' into stable
Diffstat (limited to 'build/windows')
| -rw-r--r-- | build/windows/prepare-install-package.ps1 | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/build/windows/prepare-install-package.ps1 b/build/windows/prepare-install-package.ps1 index 5e116019..7e3c6c86 100644 --- a/build/windows/prepare-install-package.ps1 +++ b/build/windows/prepare-install-package.ps1 @@ -162,20 +162,21 @@ foreach ($folder in $folders) { cp "$smapiBin/SMAPI.metadata.json" "$bundlePath/smapi-internal/metadata.json" if ($folder -eq "linux" -or $folder -eq "macOS") { cp "$installAssets/unix-launcher.sh" "$bundlePath" - cp "$smapiBin/System.Runtime.Caching.dll" "$bundlePath/smapi-internal" } else { cp "$installAssets/windows-exe-config.xml" "$bundlePath/StardewModdingAPI.exe.config" } # copy .NET dependencies - cp "$smapiBin/System.Configuration.ConfigurationManager.dll" "$bundlePath/smapi-internal" - cp "$smapiBin/System.Runtime.Caching.dll" "$bundlePath/smapi-internal" - cp "$smapiBin/System.Security.Permissions.dll" "$bundlePath/smapi-internal" if ($folder -eq "windows") { cp "$smapiBin/System.Management.dll" "$bundlePath/smapi-internal" } + # copy legacy .NET dependencies (remove in SMAPI 4.0.0) + cp "$smapiBin/System.Configuration.ConfigurationManager.dll" "$bundlePath/smapi-internal" + cp "$smapiBin/System.Runtime.Caching.dll" "$bundlePath/smapi-internal" + cp "$smapiBin/System.Security.Permissions.dll" "$bundlePath/smapi-internal" + # copy bundled mods foreach ($modName in $bundleModNames) { $fromPath = "src/SMAPI.Mods.$modName/bin/$buildConfig/$runtime/publish" |
