refactor: rewrite all build scripts

* supports generate rpm package on Linux
* use a global VERSION file
This commit is contained in:
leo 2024-04-16 17:29:36 +08:00
parent de5a60c6dd
commit 7f7e5ef5f8
11 changed files with 102 additions and 54 deletions

Binary file not shown.

View file

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleIconFile</key>
<string>App.icns</string>
<key>CFBundleIdentifier</key>
<string>com.sourcegit-scm.sourcegit</string>
<key>CFBundleName</key>
<string>SourceGit</string>
<key>CFBundleVersion</key>
<string>SOURCE_GIT_VERSION.0</string>
<key>LSMinimumSystemVersion</key>
<string>10.12</string>
<key>CFBundleExecutable</key>
<string>SourceGit</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>SOURCE_GIT_VERSION</string>
<key>NSHighResolutionCapable</key>
<true/>
</dict>
</plist>