From 4b2ab2894a406faf556712f2e4a9e4da958ef676 Mon Sep 17 00:00:00 2001 From: cod378 Date: Mon, 3 Nov 2025 02:11:15 +0000 Subject: [PATCH] refactor: switch from remote URLs to local script execution --- scripts/vm/vm_creator.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/vm/vm_creator.sh b/scripts/vm/vm_creator.sh index a731a70..e17eb42 100644 --- a/scripts/vm/vm_creator.sh +++ b/scripts/vm/vm_creator.sh @@ -24,7 +24,7 @@ # consistent and maintainable way, using ProxMenux standards. # ========================================================== -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" @@ -494,7 +494,7 @@ fi msg_success "$(translate "Press Enter to return to the main menu...")" read -r -bash <(curl -fsSL "$REPO_URL/scripts/menus/create_vm_menu.sh") +bash "$LOCAL_SCRIPTS/menus/create_vm_menu.sh" exit 0 }