mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-11-18 11:36:17 +00:00
feat: switch script paths from remote repo to local directory
This commit is contained in:
@@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
|
|
||||||
# Configuration ============================================
|
# Configuration ============================================
|
||||||
REPO_URL="https://raw.githubusercontent.com/MacRimi/ProxMenux/main"
|
LOCAL_SCRIPTS="/usr/local/share/proxmenux/scripts"
|
||||||
BASE_DIR="/usr/local/share/proxmenux"
|
BASE_DIR="/usr/local/share/proxmenux"
|
||||||
UTILS_FILE="$BASE_DIR/utils.sh"
|
UTILS_FILE="$BASE_DIR/utils.sh"
|
||||||
VENV_PATH="/opt/googletrans-env"
|
VENV_PATH="/opt/googletrans-env"
|
||||||
@@ -293,7 +293,7 @@ while true; do
|
|||||||
dialog --clear --title "Proxmox VE Helper-Scripts" \
|
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
|
--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
|
#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
|
if [[ "$SELECTED" == "search" ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user