-
Notifications
You must be signed in to change notification settings - Fork 33
/
run.sh
executable file
·45 lines (38 loc) · 836 Bytes
/
run.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#!/bin/bash
cd src
if [ -e /home/v/Downloads/firefox/firefox ]
then
jpm run --binary /home/v/Downloads/firefox/firefox
exit
fi
if [ -e ./firefox/firefox ]
then
jpm run --binary ./firefox/firefox
exit
fi
if [ -e ~/firefox/firefox ]
then
jpm run --binary ~/firefox/firefox
exit
fi
if [ -e /Users/bgirard/mozilla/mozilla-central/builds/obj-ff-64gdb/dist/Nightly.app ]
then
echo "64 gdb"
jpm run --binary /Users/bgirard/mozilla/mozilla-central/builds/obj-ff-64gdb/dist/Nightly.app
exit
fi
if [ -e /Volumes/Nightly/FirefoxNightly.app ]
then
echo Nightly
jpm run --binary /Volumes/Nightly/FirefoxNightly.app
exit
fi
# or use nightly
if [ -e /Applications/FirefoxNightly.app ]
then
echo Nightly
jpm run --binary /Applications/FirefoxNightly.app
exit
fi
echo "Unable to find a firefox installation!"
exit 1