Created
June 5, 2025 08:21
-
-
Save BaltzarL/8b462b78b259e0e1f696c5d8ec866eda to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [[ -x ./firefox ]]; then | |
echo "Running local ./firefox" | |
exec ./firefox "$@" | |
else | |
echo "Downloading Firefox AppImage..." | |
wget -O firefox "https://github.com/srevinsaju/Firefox-Appimage/releases/download/firefox-nightly/firefox-nightly-141.0.r20250604183413-x86_64.AppImage" | |
chmod +x firefox | |
echo "Running downloaded ./firefox" | |
exec ./firefox "$@" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment