diff --git a/.vscode/launch.json b/.vscode/launch.json index 8a969702..903a5af2 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -25,7 +25,7 @@ // Set to true to serve assets/templates directly from disk for development "XUI_DEBUG": "true", // Uncomment to override DB folder location (by default uses working dir on Windows when debug) - // "XUI_DB_FOLDER": "${workspaceFolder}", + "XUI_DB_FOLDER": "..\\debug", // Example: override log level (debug|info|notice|warn|error) // "XUI_LOG_LEVEL": "debug" }, diff --git a/install.sh b/install.sh index fd543246..96b4d835 100644 --- a/install.sh +++ b/install.sh @@ -147,6 +147,7 @@ install_x-ui() { # Download resources if [ $# == 0 ]; then + # bash <(curl -Ls https://raw.githubusercontent.com/dimasmir03/3x-ui/install.sh) # wget --inet4-only -O /etc/init.d/x-ui https://raw.githubusercontent.com/dimasmir03/3x-ui/feature/multi-server-support/x-ui.rc tag_version=$(curl -Ls "https://api.github.com/repos/dimasmir03/3x-ui/feature/multi-server-support/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/') if [[ ! -n "$tag_version" ]]; then