Skip to content

Instantly share code, notes, and snippets.

@BaltzarL
Created June 5, 2025 08:21
Show Gist options
  • Save BaltzarL/8b462b78b259e0e1f696c5d8ec866eda to your computer and use it in GitHub Desktop.
Save BaltzarL/8b462b78b259e0e1f696c5d8ec866eda to your computer and use it in GitHub Desktop.
#!/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