x
This commit is contained in:
@@ -3,6 +3,7 @@ package main
|
||||
import (
|
||||
"bufio"
|
||||
"os"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
_ "github.com/cdle/sillyplus/adapters/qq"
|
||||
@@ -26,6 +27,13 @@ func main() {
|
||||
if arg == "-d" {
|
||||
d = true
|
||||
}
|
||||
if arg == "-r" && strings.Contains(os.Args[0], ".ready.exe") { //准备程序还原程序
|
||||
err := utils.CopyFile(utils.ProcessName, strings.Replace(utils.ProcessName, "ready.exe", ".exe", -1))
|
||||
if err == nil {
|
||||
utils.Daemon("reset")
|
||||
}
|
||||
continue
|
||||
}
|
||||
}
|
||||
if !d {
|
||||
t := false
|
||||
|
||||
Reference in New Issue
Block a user