WTF is this

This commit is contained in:
世界
2024-06-24 09:49:15 +08:00
parent f0eead5ed5
commit ba6ecd1c9f
41 changed files with 421 additions and 507 deletions

View File

@@ -3,6 +3,7 @@ package libbox
import (
"os"
"os/user"
"runtime/debug"
"strconv"
"time"
@@ -21,6 +22,11 @@ var (
sTVOS bool
)
func init() {
debug.SetPanicOnFault(true)
debug.SetTraceback("all")
}
func Setup(basePath string, workingPath string, tempPath string, isTVOS bool) {
sBasePath = basePath
sWorkingPath = workingPath