Skip to content

Commit

Permalink
Merge branch 'development'
Browse files Browse the repository at this point in the history
  • Loading branch information
dagit committed Sep 14, 2024
2 parents feffbfd + 9c9110b commit b9c18b0
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/onpush.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,15 +116,16 @@ jobs:
export TARGET=aarch64-apple-darwin
rustup target add $TARGET
- run: cargo build --release
- run: cargo install --force cargo-bundle
- name: macOS bundling
if: ${{ matrix.is-osx }}
run: |
cargo bundle --release
pushd target/release/bundle/osx
zip -r Annelid.zip Annelid.app
cp Annelid.zip ../../
popd
mkdir -p Annelid.app/Contents/MacOS
mkdir -p Annelid.app/Contents/Resources
cp target/release/annelid Annelid.app/Contents/MacOS/
chmod +x Annelid.app/Contents/MacOS/annelid
cp Info.plist Annelid.app/Contents/
codesign --deep --force --sign - Annelid.app
zip -r ./target/release/Annelid.zip Annelid.app
- name: Linux bundling
if: ${{ matrix.is-linux }}
run: |
Expand Down
29 changes: 29 additions & 0 deletions Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleDisplayName</key>
<string>Annelid</string>
<key>CFBundleExecutable</key>
<string>annelid</string>
<key>CFBundleIdentifier</key>
<string>com.yourdomain.annelid</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>Annelid</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.1.0</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>NSHighResolutionCapable</key>
<true/>
<key>NSHumanReadableCopyright</key>
<string>Copyright (c) 2023 Jason Dagit. GPL 3.</string>
</dict>
</plist>

0 comments on commit b9c18b0

Please sign in to comment.