File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -608,13 +608,10 @@ fn qchat_path() -> Result<PathBuf> {
608608
609609#[ cfg( target_os = "macos" ) ]
610610fn qchat_path ( ) -> Result < PathBuf > {
611- Ok ( PathBuf :: from ( env ! ( "CARGO_MANIFEST_DIR" ) ) . join ( "../../target/debug/chat_cli" ) )
612-
613- // use fig_util::consts::CHAT_BINARY_NAME;
614- // use macos_utils::bundle::get_bundle_path_for_executable;
611+ use fig_util:: consts:: CHAT_BINARY_NAME ;
612+ use macos_utils:: bundle:: get_bundle_path_for_executable;
615613
616- // Ok(get_bundle_path_for_executable(CHAT_BINARY_NAME).unwrap_or(home_local_bin()?.
617- // join(CHAT_BINARY_NAME)))
614+ Ok ( get_bundle_path_for_executable ( CHAT_BINARY_NAME ) . unwrap_or ( home_local_bin ( ) ?. join ( CHAT_BINARY_NAME ) ) )
618615}
619616
620617#[ cfg( test) ]
You can’t perform that action at this time.
0 commit comments