mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-06-28 12:16:53 +00:00
Update storage_menu.sh
This commit is contained in:
parent
cc6fee8a98
commit
b765d79b22
@ -11,14 +11,14 @@
|
|||||||
# ==========================================================
|
# ==========================================================
|
||||||
|
|
||||||
|
|
||||||
# Configuration ============================================
|
# Configuration
|
||||||
REPO_URL="https://raw.githubusercontent.com/MacRimi/ProxMenux/main/scripts/menus"
|
REPO_URL="https://raw.githubusercontent.com/MacRimi/ProxMenux/main"
|
||||||
UTILS_URL="https://raw.githubusercontent.com/MacRimi/ProxMenux/main/scripts/utils.sh"
|
UTILS_URL="https://raw.githubusercontent.com/MacRimi/ProxMenux/main/scripts/utils.sh"
|
||||||
BASE_DIR="/usr/local/share/proxmenux"
|
BASE_DIR="/usr/local/share/proxmenux"
|
||||||
CACHE_FILE="$BASE_DIR/cache.json"
|
CACHE_FILE="$BASE_DIR/cache.json"
|
||||||
VENV_PATH="/opt/googletrans-env"
|
VENV_PATH="/opt/googletrans-env"
|
||||||
LANGUAGE=$(jq -r '.language // "en"' "$BASE_DIR/config.json" 2>/dev/null)
|
LANGUAGE=$(jq -r '.language // "en"' "$BASE_DIR/config.json" 2>/dev/null)
|
||||||
# ==========================================================
|
|
||||||
|
|
||||||
# Try to load utils.sh from GitHub
|
# Try to load utils.sh from GitHub
|
||||||
if ! source <(curl -sSf "$UTILS_URL"); then
|
if ! source <(curl -sSf "$UTILS_URL"); then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user