mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-03-01 01:20:49 +03:00
feat: Rollback files (main.go , Makefile)
This commit is contained in:
parent
3a02359325
commit
83ffa25d6f
14
Makefile
14
Makefile
@ -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
|
@ -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",
|
Loading…
Reference in New Issue
Block a user