This commit is contained in:
Kovid Goyal 2022-04-05 16:08:24 +05:30
parent c2bc24de35
commit 24eeeedb1f
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -66,9 +66,9 @@ expand_tilde() {
parse_args() {
dest='~/.local'
[ "$OS" = "macos" ] && dest="/Applications"
launch='y'
installer=''
[ "$OS" = "macos" ] && dest="/Applications"
while :; do
case "$1" in
dest=*) dest="${1#*=}";;
@ -148,7 +148,7 @@ prepare_install_dest() {
exec_kitty() {
if [ "$OS" = "macos" ]; then
exec open "$dest"
exec "open" "$dest"
else
exec "$dest/bin/kitty" "--detach"
fi