browsirai 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +661 -78
- package/README.md +60 -5
- package/dist/bin.js +4 -2
- package/dist/bin.js.map +1 -1
- package/dist/cli/commands/act.js.map +1 -1
- package/dist/cli/commands/nav.js.map +1 -1
- package/dist/cli/commands/net.js.map +1 -1
- package/dist/cli/commands/obs.js.map +1 -1
- package/dist/cli/run.js +2 -1
- package/dist/cli/run.js.map +1 -1
- package/dist/cli.js +4 -2
- package/dist/cli.js.map +1 -1
- package/dist/server.js +4 -2
- package/dist/server.js.map +1 -1
- package/package.json +2 -2
package/dist/server.js
CHANGED
|
@@ -519,7 +519,8 @@ async function launchChromeWithDebugging(port = 9222, headless = false) {
|
|
|
519
519
|
}
|
|
520
520
|
const args = [
|
|
521
521
|
`--remote-debugging-port=${targetPort}`,
|
|
522
|
-
"--remote-allow-origins=*"
|
|
522
|
+
"--remote-allow-origins=*",
|
|
523
|
+
"--no-sandbox"
|
|
523
524
|
];
|
|
524
525
|
if (dataDir) {
|
|
525
526
|
args.push(`--user-data-dir=${dataDir}`, "--no-first-run", "--no-default-browser-check", "--disable-extensions");
|
|
@@ -632,7 +633,8 @@ async function launchHeadlessChrome() {
|
|
|
632
633
|
"--no-first-run",
|
|
633
634
|
"--no-default-browser-check",
|
|
634
635
|
"--disable-extensions",
|
|
635
|
-
"--disable-gpu"
|
|
636
|
+
"--disable-gpu",
|
|
637
|
+
"--no-sandbox"
|
|
636
638
|
], {
|
|
637
639
|
detached: true,
|
|
638
640
|
stdio: "ignore"
|