diff --git a/build/build.osx.command b/build/build.osx.command index 5e5beb70..df3222b0 100644 --- a/build/build.osx.command +++ b/build/build.osx.command @@ -5,9 +5,8 @@ version=`cat ./VERSION` rm -rf SourceGit.app *.zip mkdir -p SourceGit.app/Contents/Resources -cp resources/app/App.plist SourceGit.app/Contents/Info.plist cp resources/app/App.icns SourceGit.app/Contents/Resources/App.icns -sed -i "s/SOURCE_GIT_VERSION/${version}/g" SourceGit.app/Contents/Info.plist +sed "s/SOURCE_GIT_VERSION/${version}/g" resources/app/App.plist > SourceGit.app/Contents/Info.plist 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