Initial commit

This commit is contained in:
EnumDev committed 2025-10-18 17:55:05 +03:00
commit 172951f49f
6 files changed
+366

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
#!/bin/bash
URL="https://download.mozilla.org/?product=firefox-latest&os=linux64&lang=en-US"
# Get version number from tag name
VERSION=$(curl -sfi "$URL" | grep -o 'firefox-[0-9.]\+[0-9]' | head -n1)
# Trim prefix
VERSION=${VERSION//firefox-/}
echo "$VERSION"