Skip to content

Commit 6242924

Browse files
ref: return osx-64
1 parent 1164a74 commit 6242924

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

download_net_runtime.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
DOTNET_RUNTIME_DOWNLOADS = {
1818
PLATFORM_LINUX: "https://download.visualstudio.microsoft.com/download/pr/282bb881-c2ae-4250-b814-b362745073bd/6e15021d23f704c0d457c820a69a3de6/dotnet-runtime-9.0.0-linux-x64.tar.gz",
1919
PLATFORM_WINDOWS: "https://download.visualstudio.microsoft.com/download/pr/fed1ee33-4574-4d89-85b5-3b8d7762b56a/432725cb9d6d235424768defea5ce6ee/dotnet-runtime-9.0.0-win-x64.zip",
20-
PLATFORM_MACOS: "https://builds.dotnet.microsoft.com/dotnet/Runtime/9.0.0/dotnet-runtime-9.0.0-osx-arm64.tar.gz"
20+
PLATFORM_MACOS: "https://download.visualstudio.microsoft.com/download/pr/4be484a1-a095-48cf-8407-cae1d3dcc944/9f373dc1d85022e004df3ac1071ace59/dotnet-runtime-9.0.0-osx-x64.tar.gz"
2121
}
2222

2323
p = os.path.join

publish_osx.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ cd "$(dirname "$0")"
88
rm -r **/bin bin/publish/macOS
99
rm SS14.Launcher_macOS.zip
1010

11-
dotnet publish SS14.Launcher/SS14.Launcher.csproj /p:FullRelease=True -c Release --no-self-contained -r osx-arm64 /nologo /p:RobustILLink=true
12-
dotnet publish SS14.Loader/SS14.Loader.csproj -c Release --no-self-contained -r osx-arm64 /nologo
11+
dotnet publish SS14.Launcher/SS14.Launcher.csproj /p:FullRelease=True -c Release --no-self-contained -r osx-x64 /nologo /p:RobustILLink=true
12+
dotnet publish SS14.Loader/SS14.Loader.csproj -c Release --no-self-contained -r osx-x64 /nologo
1313

1414
# Create intermediate directories.
1515
mkdir -p bin/publish/macOS
@@ -21,8 +21,8 @@ mkdir -p "bin/publish/macOS/SimpleStation14 Launcher.app/Contents/Resources/bin/
2121
mkdir -p "bin/publish/macOS/SimpleStation14 Launcher.app/Contents/Resources/bin/loader/SimpleStation14.app/Contents/Resources/bin/"
2222

2323
cp -r Dependencies/dotnet/mac/* "bin/publish/macOS/SimpleStation14 Launcher.app/Contents/Resources/dotnet/"
24-
cp -r SS14.Launcher/bin/Release/net9.0/osx-arm64/publish/* "bin/publish/macOS/SimpleStation14 Launcher.app/Contents/Resources/bin/"
25-
cp -r SS14.Loader/bin/Release/net9.0/osx-arm64/publish/* "bin/publish/macOS/SimpleStation14 Launcher.app/Contents/Resources/bin/loader/SimpleStation14.app/Contents/Resources/bin/"
24+
cp -r SS14.Launcher/bin/Release/net9.0/osx-x64/publish/* "bin/publish/macOS/SimpleStation14 Launcher.app/Contents/Resources/bin/"
25+
cp -r SS14.Loader/bin/Release/net9.0/osx-x64/publish/* "bin/publish/macOS/SimpleStation14 Launcher.app/Contents/Resources/bin/loader/SimpleStation14.app/Contents/Resources/bin/"
2626
pushd bin/publish/macOS
2727
zip -r ../../../SS14.Launcher_macOS.zip *
2828
popd

0 commit comments

Comments
 (0)