From 7895365af990847776c9f4b5740fdaaef40592b5 Mon Sep 17 00:00:00 2001 From: Arctic Date: Fri, 4 Jul 2025 12:10:49 -0500 Subject: [PATCH] Fix archive extraction path - use 'foxshell' instead of 'foxshell-main' --- foxshell.zsh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/foxshell.zsh b/foxshell.zsh index 314b72b..16b04b0 100644 --- a/foxshell.zsh +++ b/foxshell.zsh @@ -266,7 +266,7 @@ if '[' '-n' "${_foxshell_bootstrap-}" ']'; then dir="$FOXSHELL"/foxshell FOXSHELL_PACKAGE_NAME='foxshell' - FOXSHELL_PACKAGE_DIR="$tmpdir"/foxshell-main + FOXSHELL_PACKAGE_DIR="$tmpdir"/foxshell FOXSHELL_PACKAGE_URL="$FOXSHELL_URL" # Download from git repository @@ -285,7 +285,7 @@ if '[' '-n' "${_foxshell_bootstrap-}" ']'; then 'exit' '1' fi - 'command' 'mv' '--' "$tmpdir"/foxshell-main "$FOXSHELL_PACKAGE_DIR" || 'exit' + 'export' 'FOXSHELL' 'export' 'FOXSHELL_PACKAGE_NAME' @@ -293,12 +293,12 @@ if '[' '-n' "${_foxshell_bootstrap-}" ']'; then 'export' 'FOXSHELL_PACKAGE_URL' if '[' "$FOXSHELL_UPDATING" '=' '1' ']'; then - "sh" "$tmpdir"/foxshell-main/sc/setup '-n' "$FOXSHELL" '-o' "$FOXSHELL_UPDATING" || 'exit' + "sh" "$tmpdir"/foxshell/sc/setup '-n' "$FOXSHELL" '-o' "$FOXSHELL_UPDATING" || 'exit' else - "sh" "$tmpdir"/foxshell-main/sc/setup '-n' "$FOXSHELL" || 'exit' + "sh" "$tmpdir"/foxshell/sc/setup '-n' "$FOXSHELL" || 'exit' fi - 'command' 'mv' '-f' '--' "$tmpdir"/foxshell-main "$dir" || 'exit' + 'command' 'mv' '-f' '--' "$tmpdir"/foxshell "$dir" || 'exit' 'trap' '-' 'ERR' 'command' 'rm' '-rf' '--' "$tmpdir"