回答編集履歴
1
コードを追加
test
CHANGED
@@ -6,6 +6,7 @@
|
|
6
6
|
|
7
7
|
##
|
8
8
|
```go
|
9
|
+
args = append(args, "--start-fullscreen") // 起動時最大化(追加)
|
9
10
|
args = append(args, "--remote-allow-origins=*") // websocket.Dialのbad statusを回避するオプション(追加)
|
10
11
|
ui, err := lorca.New("", "", 480, 320, args...)
|
11
12
|
|
@@ -22,6 +23,7 @@
|
|
22
23
|
※途中省略
|
23
24
|
// "--enable-automation",
|
24
25
|
"--disable-automation", // <- 自動テスト ソフトウェアによって制御されています」を消す
|
26
|
+
"--start-fullscreen", // <- 起動時最大化
|
25
27
|
"--password-store=basic",
|
26
28
|
"--use-mock-keychain",
|
27
29
|
"--remote-allow-origins=*", // <- websoket.Dialのbad statusエラーを出さない
|