Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/browser/sugar-html-browser.in
blob: 01ca3a854e5dc45fbdc1ab3032b4ac22678fbf47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

profiledir=$SUGAR_ACTIVITY_ROOT/data/firefox-profile
extensionsdir=$profiledir/extensions

mkdir -p $extensionsdir

ln -s @pkglibdir@/extensions/sugar.xpi \
      $extensionsdir/jid1-RTyA5c7teVs4tA@jetpack.xpi

echo "user_pref(\"browser.rights.3.shown\", true);" > $profiledir/user.js

exec firefox -no-remote -profile $profiledir index.html