Add gitignore and chromium

This commit is contained in:
Phantop 2022-02-16 12:32:03 -05:00
parent 2d0cdfe50a
commit c3a893e920
2 changed files with 16 additions and 0 deletions

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
squashfs-root
*.sh
*.AppImage

13
apps/mkchrome Executable file
View File

@ -0,0 +1,13 @@
#!/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