File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ CLI_NAME="Q CLI"
1212COMMAND_NAME=" q"
1313BASE_URL=" https://desktop-release.q.us-east-1.amazonaws.com"
1414MANIFEST_URL=" ${BASE_URL} /latest/manifest.json"
15+ MACOS_FILENAME=" Amazon Q.dmg"
16+ MACOS_FILENAME_ESCAPED=" Amazon%20Q.dmg"
1517
1618# Installation directories
1719MACOS_APP_DIR=" /Applications"
@@ -358,9 +360,7 @@ install_macos() {
358360 mkdir -p " $HOME /.local/bin"
359361 local macos_bin=" $MACOS_APP_DIR /$app_name /Contents/MacOS"
360362
361- create_symlink " $macos_bin /q" " $HOME /.local/bin/q"
362- create_symlink " $macos_bin /qchat" " $HOME /.local/bin/qchat"
363- create_symlink " $macos_bin /qterm" " $HOME /.local/bin/qterm"
363+ " $macos_bin /q_desktop" --no-dashboard > /dev/null 2>&1 &
364364}
365365
366366# Install on Linux
@@ -437,8 +437,8 @@ main() {
437437 # Get download information
438438 local download_url filename
439439 if [[ " $os " == " darwin" ]]; then
440- filename=" Amazon Q.dmg "
441- download_url=" ${BASE_URL} /latest/Amazon%20Q.dmg "
440+ filename=" $MACOS_FILENAME "
441+ download_url=" ${BASE_URL} /latest/${MACOS_FILENAME_ESCAPED} "
442442 else
443443 # Linux
444444 if [[ " $use_musl " == " true" ]]; then
You can’t perform that action at this time.
0 commit comments