作者 yangfu

异常处理

... ... @@ -54,7 +54,7 @@ func initConfig() {
}
}
if runtime.GOOS == "linux" {
cmdPath = strings.TrimLeft(cmdPath, ".exe")
cmdPath = strings.TrimRight(cmdPath, ".exe")
}
}
... ...