Skip to content

Commit 8a27f66

Browse files
committed
Add Intel version
1 parent f60e9d3 commit 8a27f66

3 files changed

Lines changed: 18 additions & 7 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "GroupCtrl"
3-
version = "0.2.0"
3+
version = "0.2.1"
44
edition = "2024"
55

66
[dependencies]

justfile

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,24 @@
11
# This is all macOS
22

33
signing_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

1223
sign:
1324
codesign --force --options runtime --sign "{{ signing_identity }}" {{ app_path }}

0 commit comments

Comments
 (0)