mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-24 20:57:19 -08:00
fix: macOS build scripts
This commit is contained in:
parent
b67cd693cd
commit
fdf90f61a8
1 changed files with 2 additions and 2 deletions
|
@ -8,10 +8,10 @@ cp resources/App.icns SourceGit.app/Contents/Resources/App.icns
|
||||||
|
|
||||||
mkdir -p SourceGit.app/Contents/MacOS
|
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
|
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
|
rm -rf SourceGit.app/Contents/MacOS
|
||||||
|
|
||||||
mkdir -p 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
|
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/*"
|
||||||
|
|
Loading…
Reference in a new issue