Skip to content

Commit 703563f

Browse files
committed
fix default bin name, clean before release
1 parent 8c4aec8 commit 703563f

2 files changed

Lines changed: 6 additions & 9 deletions

File tree

Cargo.toml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,7 @@ edition = "2021"
66
authors = ["Brett Gardiner"]
77
license = "MIT"
88

9-
default-run = "main"
10-
11-
[[bin]]
12-
name = "main"
13-
path = "src/main.rs"
9+
default-run = "mic-mute"
1410

1511
[[bin]]
1612
name = "post-build"
@@ -51,7 +47,7 @@ icon = [
5147
"assets/icons/512x512@2x.png"
5248
]
5349
copyright = "Copyright (c) Brett Gardiner 2023. All rights reserved."
54-
category = "Utility"
50+
category = "public.app-category.utilities"
5551
short_description = "System-wide mic mute for macOS"
5652
long_description = """
5753
A system-wide mute for macOS microphones with a global shortcut and visual confirmation of mute status. Inspired by VCM for Windows.

Taskfile.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,14 @@ tasks:
6868
release:
6969
cmds:
7070
- task: dependencies-release
71-
- task: release-arch
71+
- cargo clean
72+
- task: release-target
7273
vars:
7374
TARGET: aarch64-apple-darwin
7475
env:
7576
RUST_LOG: warn
7677

77-
release-arch:
78+
release-target:
7879
internal: true
7980
cmds:
8081
- cargo build --locked --release --target {{ .TARGET }}
@@ -87,4 +88,4 @@ tasks:
8788

8889
clean:
8990
cmds:
90-
- rm -rf ./target
91+
- cargo clean

0 commit comments

Comments
 (0)