diff --git a/game.md b/game.md index 66d37a8..d76a59d 100644 --- a/game.md +++ b/game.md @@ -56,7 +56,7 @@ { // 发卡执行时间,单位秒 "action": 0, - // 等待时间,单位秒 + // 等待时间,单位秒(不能小于 1) "wait": 10 } ``` diff --git a/pkg/browser/browser.go b/pkg/browser/browser.go index 68f3eec..b547ebb 100644 --- a/pkg/browser/browser.go +++ b/pkg/browser/browser.go @@ -16,6 +16,8 @@ func OpenApp(c context.Context, url string) { Delete(flags.Env). Set("kiosk"). Set("hide-scrollbars"). + Set("disable-sync"). + Set("disable-features", "GoogleSignin,IdentityConsistency,OmniboxUIExperimentation,GoogleSearch,Autofill,SafeSearch,SpeechRecognition"). Delete("disable-site-isolation-trials"). Bin(path) p := l.MustLaunch() diff --git a/pkg/ports.go b/pkg/ports.go deleted file mode 100644 index 4febd40..0000000 --- a/pkg/ports.go +++ /dev/null @@ -1,7 +0,0 @@ -package main - -import "game-driver/pkg/relay" - -func main() { - relay.PrintPorts() -}