File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11[package ]
22name = " GroupCtrl"
3- version = " 0.2.0 "
3+ version = " 0.2.1 "
44edition = " 2024"
55
66[dependencies ]
Original file line number Diff line number Diff line change 11# This is all macOS
22
33signing_identity := " Developer ID Application: Moritz Brödel (7P73434GLV)"
4- app_path := " target/dx/GroupCtrl/bundle/macos/bundle/macos/GroupCtrl.app"
5- zip_path := " target/GroupCtrl.zip"
4+ bundle_path := " target/dx/GroupCtrl/bundle/macos/bundle/macos"
5+ app_path := bundle_path / " GroupCtrl.app"
6+ zip_path := bundle_path / " GroupCtrl.zip"
7+ arm := " aarch64-apple-darwin"
8+ intel := " x86_64-apple-darwin"
69
7- release : icon bundle sign notarize dmg
10+ release : clean-dmgs icon ( build intel) rename-intel- dmg ( build arm)
811
9- bundle :
10- dx bundle --release
12+ clean -dmgs:
13+ rm -f target/ GroupCtrl*.dmg
14+
15+ rename-intel-dmg :
16+ f=" $(ls target/GroupCtrl*.dmg)" && mv " $f" " ${f%.dmg} Intel.dmg"
17+
18+ build target : (bundle target) sign notarize dmg
19+
20+ bundle target :
21+ dx bundle --release --target {{ target }}
1122
1223sign :
1324 codesign --force --options runtime --sign " {{ signing_identity }} " {{ app_path }}
You can’t perform that action at this time.
0 commit comments