[chrome] tag + wayland
This commit is contained in:
parent
4dc6443f3d
commit
611e4b87c8
1 changed files with 3 additions and 1 deletions
|
@ -18,10 +18,12 @@ CHANNEL=${CHANNEL:=stable}
|
||||||
wget -c --no-check-certificate https://dl.google.com/linux/direct/google-chrome-${CHANNEL}_current_$DEBARCH.deb
|
wget -c --no-check-certificate https://dl.google.com/linux/direct/google-chrome-${CHANNEL}_current_$DEBARCH.deb
|
||||||
cp $BUILD_DIR/google-chrome.SlackBuild .
|
cp $BUILD_DIR/google-chrome.SlackBuild .
|
||||||
|
|
||||||
RELEASE=$CHANNEL ./google-chrome.SlackBuild
|
RELEASE=$CHANNEL BUILD=1gwh ./google-chrome.SlackBuild
|
||||||
|
|
||||||
upgradepkg --install-new --reinstall /tmp/google-chrome-*-$ARCH-*.txz
|
upgradepkg --install-new --reinstall /tmp/google-chrome-*-$ARCH-*.txz
|
||||||
|
|
||||||
|
sed -i "s|Exec=/usr/bin/google-chrome\([a-z-]*\)|Exec=/usr/bin/google-chrome\1 --enable-features=UseOzonePlatform --ozone-platform=wayland|g" /usr/share/applications/google-chrome.desktop
|
||||||
|
|
||||||
rm google-chrome.SlackBuild google-chrome-${CHANNEL}_current_$DEBARCH.deb
|
rm google-chrome.SlackBuild google-chrome-${CHANNEL}_current_$DEBARCH.deb
|
||||||
|
|
||||||
#/root/clean-tmp.sh
|
#/root/clean-tmp.sh
|
||||||
|
|
Loading…
Reference in a new issue