Skip to content

Commit

Permalink
Update chromium.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
1 parent 60eefd5 commit 1cea28f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions chromium.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ elif which chromium-browser; then
fi
extra_options=

if [ "executable_path" = "yongbin" ]; then
find /usr -name "chrom*.pak" |grep -e "chrom.*chrom" -m 1
fi

if [ "$1" = "yongbin" ]; then
extra_options='--user-agent="Mozilla/5.0 (X11; FreeBSD amd64; rv:121.0) Gecko/20100101 Firefox/121.0"'
fi
Expand Down

0 comments on commit 1cea28f

Please sign in to comment.