mirror of
https://github.com/langhuihui/monibuca.git
synced 2025-10-27 00:50:32 +08:00
录制功能调试
This commit is contained in:
5
main.go
5
main.go
@@ -1,6 +1,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"flag"
|
||||
. "github.com/langhuihui/monibuca/monica"
|
||||
_ "github.com/langhuihui/monibuca/plugins"
|
||||
"log"
|
||||
@@ -9,6 +10,8 @@ import (
|
||||
|
||||
func main() {
|
||||
log.SetOutput(os.Stdout)
|
||||
Run("config.toml")
|
||||
configPath := flag.String("c", "config.toml", "configFile")
|
||||
flag.Parse()
|
||||
Run(*configPath)
|
||||
select {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user