File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ needs installed-app validation.
104104- On macOS, do not treat a matching hash as sufficient after copying a locally
105105 built ` garyx ` binary into a launchd-managed path such as
106106 ` /opt/homebrew/bin/garyx ` . Clear removable target-file xattrs, ad-hoc re-sign
107- the installed file with the stable identifier ` com.bytedance. garyx ` (or use
107+ the installed file with the stable identifier ` com.garyx.cli ` (or use
108108 ` bash scripts/codesign-macos-cli.sh <path-to-garyx> ` ), and verify it executes
109109 before restarting, otherwise launchd/AMFI may kill it with
110110 ` OS_REASON_CODESIGNING ` . ` com.apple.provenance ` can be inherited or protected
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ needs installed-app validation.
104104- On macOS, do not treat a matching hash as sufficient after copying a locally
105105 built ` garyx ` binary into a launchd-managed path such as
106106 ` /opt/homebrew/bin/garyx ` . Clear removable target-file xattrs, ad-hoc re-sign
107- the installed file with the stable identifier ` com.bytedance. garyx ` (or use
107+ the installed file with the stable identifier ` com.garyx.cli ` (or use
108108 ` bash scripts/codesign-macos-cli.sh <path-to-garyx> ` ), and verify it executes
109109 before restarting, otherwise launchd/AMFI may kill it with
110110 ` OS_REASON_CODESIGNING ` . ` com.apple.provenance ` can be inherited or protected
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ members = [
1313resolver = " 2"
1414
1515[workspace .package ]
16- version = " 0.1.20 "
16+ version = " 0.1.21 "
1717edition = " 2024"
1818license = " MIT"
1919repository = " https://github.com/Pyiner/garyx"
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ const CLAUDE_OAUTH_ENV: &str = "CLAUDE_CODE_OAUTH_TOKEN";
9797const CODEX_API_KEY_ENV : & str = "OPENAI_API_KEY" ;
9898const GITHUB_RELEASE_REPO : & str = "Pyiner/garyx" ;
9999#[ cfg( any( target_os = "macos" , test) ) ]
100- const MACOS_CLI_CODESIGN_IDENTIFIER : & str = "com.bytedance. garyx" ;
100+ const MACOS_CLI_CODESIGN_IDENTIFIER : & str = "com.garyx.cli " ;
101101const DEFAULT_CHANNEL_AGENT_ID : & str = "claude" ;
102102
103103#[ derive( Debug , Deserialize ) ]
Original file line number Diff line number Diff line change @@ -1167,7 +1167,7 @@ fn macos_cli_codesign_args_use_stable_identifier() {
11671167 "--sign" ,
11681168 "-" ,
11691169 "--identifier" ,
1170- "com.bytedance. garyx" ,
1170+ "com.garyx.cli " ,
11711171 "/tmp/garyx"
11721172 ]
11731173 ) ;
Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ verify_checksum() {
131131
132132codesign_macos_cli () {
133133 local binary=" $1 "
134- local identifier=" com.bytedance. garyx"
134+ local identifier=" com.garyx.cli "
135135
136136 if [ " $( uname -s) " != " Darwin" ]; then
137137 return 0
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ if [[ $# -ne 1 ]]; then
1414fi
1515
1616binary=" $1 "
17- identifier=" com.bytedance. garyx"
17+ identifier=" com.garyx.cli "
1818
1919if [[ ! -f " $binary " ]]; then
2020 echo " Error: binary does not exist: $binary " >&2
You can’t perform that action at this time.
0 commit comments