From 139d6be9a9b5dff209e58b36af6818b5ef44fa94 Mon Sep 17 00:00:00 2001 From: Botspot Date: Mon, 30 Nov 2020 15:14:40 -0600 Subject: [PATCH] curl click bitlylink instead of chromium --- etc/bitlylink | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/etc/bitlylink b/etc/bitlylink index ceaa844..b88ba9d 100755 --- a/etc/bitlylink +++ b/etc/bitlylink @@ -20,10 +20,6 @@ if [ "$(cat "${DIRECTORY}/data/settings/Enable analytics")" == 'Yes' ];then #Allowing analytics does not identify you, or any personal information about you. Botspot can only see the total number of "clicks", as well as the top 3 countries of origin. bitlylink="https://bit.ly/pi-apps-$trigger-$(echo "$app" | tr -d ' ' | sed 's/[^a-zA-Z0-9]//g')" - if command -v chromium-browser ;then - chromium-browser --headless "$bitlylink" &>/dev/null & - elif command -v chromium ;then - chromium --headless "$bitlylink" &>/dev/null & - fi + curl -L --user-agent "Pi-Apps Raspberry Pi app store" "$bitlylink" #echo "clicked $bitlylink" 1>&2 fi