project: cleanup

* remove unused build scripts since we use github CI to automate releases
* rename build/ci to build/scripts
* cleanup solution file
This commit is contained in:
leo 2024-08-14 16:32:58 +08:00
parent db40a3f368
commit f544333418
No known key found for this signature in database
11 changed files with 3 additions and 936 deletions

View file

@ -0,0 +1,22 @@
#!/bin/bash
set -e
if [ -z "$VERSION" ]; then
echo "Provide the version as environment variable VERSION"
exit 1
fi
if [ -z "$RUNTIME" ]; then
echo "Provide the runtime as environment variable RUNTIME"
exit 1
fi
cd build
mkdir -p SourceGit.app/Contents/Resources
mv SourceGit SourceGit.app/Contents/MacOS
cp resources/app/App.icns SourceGit.app/Contents/Resources/App.icns
sed "s/SOURCE_GIT_VERSION/$VERSION/g" resources/app/App.plist > SourceGit.app/Contents/Info.plist
zip "sourcegit_$VERSION.$RUNTIME.zip" -r SourceGit.app -x "*/*\.dsym/*"