macos uses .dylib #24

Merged
sarah merged 2 commits from ios_build into trunk 2021-08-30 17:40:09 +00:00
1 changed files with 3 additions and 0 deletions
Showing only changes of commit dbcb671117 - Show all commits

3
lib.go
View File

@ -81,6 +81,9 @@ func StartCwtch(appDir string, torPath string) int {
log.Errorf("could not create file log: %v\n", err)
}
}
if runtime.GOOS == "android" {
log.SetUseColor(false)
}
log.SetLevel(log.LevelInfo)
if logLevel := os.Getenv("LOG_LEVEL"); strings.ToLower(logLevel) == "debug" {
log.SetLevel(log.LevelDebug)