mirror of
https://github.com/Phantop/appdwarf.git
synced 2025-01-10 06:06:47 +00:00
14 lines
378 B
Plaintext
14 lines
378 B
Plaintext
|
#!/bin/bash
|
||
|
PATH=$(dirname "$(readlink -f "${0}")")/..:$PATH
|
||
|
DIR=/tmp/dwarf-portable-executable
|
||
|
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
|