Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use i2p.plugins.firefox launcher script to keep up with binary releases of i2p.firefox #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/i2pbrowser.zip
/i2pwolf
/i2pbrowser
17 changes: 7 additions & 10 deletions 1run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
## Script to make a preconfigured browser for I2P
###########################################

# Prepping profile
wget -c "https://github.com/eyedeekay/i2p.plugins.firefox/releases/download/1.0.1/i2pbrowser.zip"
unzip i2pbrowser.zip
cd i2pbrowser || exit

# Get LibreWolf and make it portable
echo "Let's do this..."
wget -4 -q --show-progress "https://github.com/AmyMoriyama/fetch-librewolf/archive/refs/heads/main.zip"
Expand All @@ -20,14 +25,6 @@ cd i2pwolf
chmod +x ./1run.sh
./1run.sh
FILENAME=$(ls LibreWolf*.AppImage)
cp -v ../../firefox.sh firefox
chmod +x ./$FILENAME
chmod +x ./LibreWolf.AppImage.portable.sh

# Prepping profile
echo ""
echo "Prepping the profile..."
tar -xzf ../firefox.profile.i2p.tar.gz
mv firefox.profile.i2p profile

echo ""
echo "You should now have a preconfigured browser for I2P"
chmod +x ./firefox
11 changes: 11 additions & 0 deletions firefox.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash
##
## Be sure to read the license file
##
## This is a simple launch script to run the LibreWolf AppImage in a portable manner

SWD=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)

FILENAME=$(ls $SWD/LibreWolf*.AppImage)

"$FILENAME" --no-remote $@