feat: switch script paths from remote repo to local directory

This commit is contained in:
cod378
2025-11-03 01:06:04 +00:00
parent 7d00ff8869
commit 22916868df

View File

@@ -20,7 +20,7 @@
# Configuration ============================================
REPO_URL="https://raw.githubusercontent.com/MacRimi/ProxMenux/main"
LOCAL_SCRIPTS="/usr/local/share/proxmenux/scripts"
BASE_DIR="/usr/local/share/proxmenux"
UTILS_FILE="$BASE_DIR/utils.sh"
VENV_PATH="/opt/googletrans-env"
@@ -293,7 +293,7 @@ while true; do
dialog --clear --title "Proxmox VE Helper-Scripts" \
--msgbox "\n\n$(translate "Visit the website to discover more scripts, stay updated with the latest updates, and support the project:")\n\nhttps://community-scripts.github.io/ProxmoxVE" 15 70
#clear
exec bash <(curl -s "$REPO_URL/scripts/menus/main_menu.sh")
exec bash <(curl -s "$LOCAL_SCRIPTS/menus/main_menu.sh")
}
if [[ "$SELECTED" == "search" ]]; then