Skip to content

Commit 9e07003

Browse files
committed
Install Chromium on ARM64
1 parent fcae05a commit 9e07003

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

install/desktop/app-chrome.sh

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
# Browse the web with the most popular browser. See https://www.google.com/chrome/
2-
cd /tmp
3-
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
4-
sudo apt install -y ./google-chrome-stable_current_amd64.deb
5-
rm google-chrome-stable_current_amd64.deb
6-
xdg-settings set default-web-browser google-chrome.desktop
7-
cd -
2+
if [ "$(dpkg --print-architecture)" = "arm64" ]; then
3+
sudo apt install -y chromium-browser
4+
else
5+
cd /tmp
6+
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
7+
sudo apt install -y ./google-chrome-stable_current_amd64.deb
8+
rm google-chrome-stable_current_amd64.deb
9+
xdg-settings set default-web-browser google-chrome.desktop
10+
cd -
11+
fi

0 commit comments

Comments
 (0)