2024-03-18 20:24:08 -07:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
rm -rf SourceGit.app
|
|
|
|
|
|
|
|
mkdir -p SourceGit.app/Contents/Resources
|
|
|
|
cp resources/App.plist SourceGit.app/Contents/Info.plist
|
|
|
|
cp resources/App.icns SourceGit.app/Contents/Resources/App.icns
|
|
|
|
|
|
|
|
mkdir -p SourceGit.app/Contents/MacOS
|
2024-04-02 05:00:33 -07:00
|
|
|
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
|
2024-03-18 20:31:33 -07:00
|
|
|
zip SourceGit.osx-arm64.zip -r SourceGit.app -x "*/en/*" -x "*/zh/*" -x "*/*\.dsym/*"
|
2024-03-18 20:24:08 -07:00
|
|
|
|
|
|
|
rm -rf SourceGit.app/Contents/MacOS
|
|
|
|
|
|
|
|
mkdir -p SourceGit.app/Contents/MacOS
|
2024-04-02 05:00:33 -07:00
|
|
|
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
|
2024-03-19 01:07:52 -07:00
|
|
|
zip SourceGit.osx-x64.zip -r SourceGit.app -x "*/en/*" -x "*/zh/*" -x "*/*\.dsym/*"
|