Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkaveh-ahangar <kavehahangar021@gmail.com>2023-05-05 12:10:20 +0300
committerkaveh-ahangar <kavehahangar021@gmail.com>2023-05-05 12:10:20 +0300
commit83ffa25d6f86395f08217a4c9442f227489eed73 (patch)
tree5f140fd3e238343a1059ef4ecdf1243365e07fc4
parent3a023593254b058d15e02970e9a11681feadb531 (diff)
feat: Rollback files (main.go , Makefile)
-rw-r--r--Makefile14
-rw-r--r--main.go (renamed from cmd/x-ui/main.go)15
2 files changed, 0 insertions, 29 deletions
diff --git a/Makefile b/Makefile
deleted file mode 100644
index ae396706..00000000
--- a/Makefile
+++ /dev/null
@@ -1,14 +0,0 @@
-
-all: build
-
-init:
- # create dirs
- mkdir -p ./build
-
-clear:
- # clear dirs
- rm -rf ./build
-
-build: clear init
- # build
- go build -o ./build/x-ui ./cmd/x-ui/main.go \ No newline at end of file
diff --git a/cmd/x-ui/main.go b/main.go
index 73a9b168..8cb2af22 100644
--- a/cmd/x-ui/main.go
+++ b/main.go
@@ -238,21 +238,6 @@ func removeSecret() {
}
}
-var vars struct {
- showVersion bool
- dbPath string
- port int
- username string
- password string
- tgbottoken string
- tgbotchatid string
- enableTelegramBot bool
- tgbotRuntime string
- resetSettings bool
- showSettings bool
- removeAllSecretsFlag bool
-}
-
func main() {
var rootCmd = &cobra.Command{
Use: "x-ui",