Skip to content

Commit

Permalink
Fixed NITDgpOS#9: Added the feature to choose whether to open the dow…
Browse files Browse the repository at this point in the history
…nloaded file with firefox or chrome
  • Loading branch information
DarkSouL11 committed Nov 16, 2016
1 parent 9f00187 commit 0315bef
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion page.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
#Gets the index page of mangareader.net

wget -O index.html www.mangareader.net
google-chrome-stable index.html

#Open the index page on Google Chrome or Firefox according to the users choice

if [ "$1" = "-f" ]; then
firefox index.html
else
google-chrome-stable index.html
fi

0 comments on commit 0315bef

Please sign in to comment.