mirror of
https://github.com/linuxserver/docker-weixin.git
synced 2026-03-30 00:03:38 +08:00
16 lines
301 B
Bash
Executable File
16 lines
301 B
Bash
Executable File
#! /bin/bash
|
|
|
|
BIN=/usr/bin/chromium-real
|
|
|
|
# Cleanup
|
|
if ! pgrep chromium > /dev/null;then
|
|
rm -f $HOME/.config/chromium/Singleton*
|
|
fi
|
|
|
|
# Wayland check
|
|
if pgrep labwc > /dev/null 2>&1; then
|
|
WAYLAND="--ozone-platform=wayland"
|
|
fi
|
|
|
|
${BIN} --password-store=basic ${WAYLAND} --no-sandbox --test-type "$@"
|