mirror of
https://github.com/Phantop/appdwarf.git
synced 2024-11-12 18:03:05 +00:00
14 lines
359 B
Bash
Executable file
14 lines
359 B
Bash
Executable file
#!/bin/sh
|
|
PATH=$(dirname "$(readlink -f "${0}")")/..:$PATH
|
|
DIR=/tmp/appdwarf
|
|
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
|