From 9fbe054fdc3fba890a6f395357af911b96522885 Mon Sep 17 00:00:00 2001
From: Alexis Calin <alexis.calin9@etu.univ-lorraine.fr>
Date: Mon, 12 Feb 2024 09:40:49 +0100
Subject: [PATCH] wget .crx

---
 setup.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/setup.sh b/setup.sh
index baefc08..af2d629 100755
--- a/setup.sh
+++ b/setup.sh
@@ -55,7 +55,8 @@ if [ "$distro" == "Debian" ]; then
 	        flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
 	        flatpak install flathub com.github.Eloston.UngoogledChromium
 		# add download extension : 
-		# curl -s https://api.github.com/repos/gorhill/uBlock/releases/latest | grep browser_download_url | cut -d '"' -f 4 | grep chromium.zip
+        wget $(curl -s https://api.github.com/repos/NeverDecaf/chromium-web-store/releases/latest | grep browser_download_url | cut -d '"' -f 4 | grep .crx)
+		wget $(curl -s https://api.github.com/repos/gorhill/uBlock/releases/latest | grep browser_download_url | cut -d '"' -f 4 | grep chromium.zip)
         fi
 
 
-- 
GitLab