From fdf90f61a84d52d176662e56f0a38f09c0e374c9 Mon Sep 17 00:00:00 2001 From: leo Date: Tue, 19 Mar 2024 11:31:33 +0800 Subject: [PATCH] fix: macOS build scripts --- build/build.osx.command | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/build.osx.command b/build/build.osx.command index 66d7d7a8..204601cf 100644 --- a/build/build.osx.command +++ b/build/build.osx.command @@ -8,10 +8,10 @@ cp resources/App.icns SourceGit.app/Contents/Resources/App.icns mkdir -p SourceGit.app/Contents/MacOS dotnet publish ../src/SourceGit.csproj -c Release -r osx-arm64 -o SourceGit.app/Contents/MacOS -p:PublishAot=true -p:PublishTrimmed=true -p:TrimMode=link --self-contained -zip SourceGit.osx-arm64.zip -r SourceGit -x "*/en/*" -x "*/zh/*" -x "*/*\.dsym/*" +zip SourceGit.osx-arm64.zip -r SourceGit.app -x "*/en/*" -x "*/zh/*" -x "*/*\.dsym/*" rm -rf SourceGit.app/Contents/MacOS mkdir -p SourceGit.app/Contents/MacOS dotnet publish ../src/SourceGit.csproj -c Release -r osx-x64 -o SourceGit.app/Contents/MacOS -p:PublishAot=true -p:PublishTrimmed=true -p:TrimMode=link --self-contained -zip SourceGit.osx-arm64.zip -r SourceGit -x "*/en/*" -x "*/zh/*" -x "*/*\.dsym/*" +zip SourceGit.osx-arm64.zip -r SourceGit.app -x "*/en/*" -x "*/zh/*" -x "*/*\.dsym/*"