mirror of
https://github.com/linuxserver/docker-chrome.git
synced 2026-01-15 08:22:31 +08:00
19 lines
352 B
Bash
Executable File
19 lines
352 B
Bash
Executable File
#!/bin/bash
|
|
|
|
BIN=/usr/bin/google-chrome
|
|
|
|
# Cleanup
|
|
if pgrep chrome > /dev/null;then
|
|
rm -f $HOME/.config/google-chrome/Singleton*
|
|
fi
|
|
|
|
${BIN} \
|
|
--no-first-run \
|
|
--no-sandbox \
|
|
--password-store=basic \
|
|
--simulate-outdated-no-au='Tue, 31 Dec 2099 23:59:59 GMT' \
|
|
--start-maximized \
|
|
--test-type \
|
|
--user-data-dir \
|
|
"$@" > /dev/null 2>&1
|