appdwarf/apps/mkchrome

14 lines
361 B
Plaintext
Raw Normal View History

2022-02-16 17:32:03 +00:00
#!/bin/bash
PATH=$(dirname "$(readlink -f "${0}")")/..:$PATH
DIR=/tmp/appdwarf
2022-02-16 17:32:03 +00:00
mkdir -p $DIR
LINK=https://download-chromium.appspot.com/dl/Linux_x64
curl -L "$LINK" | bsdtar xf - -C$DIR
chmod +x $DIR/chrome-linux/chrome*
mv $DIR/chrome-linux/chrome $DIR/chrome-linux/AppRun
appdwarf $DIR/chrome-linux
mv $DIR/chrome-linux.sh chromium
rm -rf $DIR/chrome-linux