sourcegit/build.command
leo 98dd37a9bc
localization: update tranlation for Text.Diff.IgnoreWhitespace
This is because that in `git diff` command the `--ignore-all-space` option will also ignore line-ending changes (`--ignore-cr-at-eol`)

Signed-off-by: leo <longshuang@msn.cn>
2025-04-29 22:49:20 +08:00

12 lines
No EOL
458 B
Bash
Executable file

#!/bin/sh
version=`cat VERSION`
rm -rf SourceGit.app
mkdir -p SourceGit.app/Contents/Resources
mkdir -p SourceGit.app/Contents/MacOS
cp build/resources/app/App.icns SourceGit.app/Contents/Resources/App.icns
sed "s/SOURCE_GIT_VERSION/${version}/g" build/resources/app/App.plist > SourceGit.app/Contents/Info.plist
dotnet publish src/SourceGit.csproj -c Release -r osx-arm64 -o SourceGit.app/Contents/MacOS
rm -rf SourceGit.app/Contents/MacOS/SourceGit.dsym