mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-11-29 10:52:54 +00:00
некоторые изменения для debug
This commit is contained in:
parent
1c3c837ab6
commit
93b423c7dc
2 changed files with 2 additions and 1 deletions
2
.vscode/launch.json
vendored
2
.vscode/launch.json
vendored
|
|
@ -25,7 +25,7 @@
|
||||||
// Set to true to serve assets/templates directly from disk for development
|
// Set to true to serve assets/templates directly from disk for development
|
||||||
"XUI_DEBUG": "true",
|
"XUI_DEBUG": "true",
|
||||||
// Uncomment to override DB folder location (by default uses working dir on Windows when debug)
|
// 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)
|
// Example: override log level (debug|info|notice|warn|error)
|
||||||
// "XUI_LOG_LEVEL": "debug"
|
// "XUI_LOG_LEVEL": "debug"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -147,6 +147,7 @@ install_x-ui() {
|
||||||
|
|
||||||
# Download resources
|
# Download resources
|
||||||
if [ $# == 0 ]; then
|
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
|
# 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/')
|
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
|
if [[ ! -n "$tag_version" ]]; then
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue