|
@@ -1,19 +1,20 @@
|
|
|
package main
|
|
|
|
|
|
import (
|
|
|
+ "fmt"
|
|
|
+ "log"
|
|
|
+ "net/http"
|
|
|
+ _ "net/http/pprof"
|
|
|
+ "os"
|
|
|
+ "strings"
|
|
|
+
|
|
|
"./models"
|
|
|
"./pkg/logging"
|
|
|
"./pkg/setting"
|
|
|
"./routers"
|
|
|
"./routers/api"
|
|
|
- "fmt"
|
|
|
"github.com/kardianos/service"
|
|
|
"github.com/kptyun/KPTCOMM/mdns"
|
|
|
- "log"
|
|
|
- "net/http"
|
|
|
- _ "net/http/pprof"
|
|
|
- "os"
|
|
|
- "strings"
|
|
|
//"unsafe"
|
|
|
)
|
|
|
|
|
@@ -59,7 +60,7 @@ func main() {
|
|
|
if os.Args[1] == "remove" {
|
|
|
err = s.Uninstall()
|
|
|
if err != nil {
|
|
|
- fmt.Println("Uninstall err", err)
|
|
|
+ fmt.Println("Uninstall err3123123", err)
|
|
|
} else {
|
|
|
fmt.Println("Uninstall success")
|
|
|
}
|