Browse Source

added CRX packaging option

Danja Vasiliev 9 năm trước cách đây
mục cha
commit
67cfe0a651

+ 12 - 2
glueIt

@@ -45,9 +45,18 @@ case "$1" in
         . ./bin/activate
         cd ../../build/firefox
         cfx xpi
+        mv *.xpi ../
         cd ../..
         ;;
 
+    "pkgCH")
+        if [ ! -x $(which chromium) ]; then
+          echo "Chromium not found, can't build.."
+          exit 1
+        fi
+        echo "Packaging Chromium extension..."
+        chromium --pack-extension=./build/chromium
+        ;;
 
    *) 
         echo "Usage: $0"
@@ -56,8 +65,9 @@ case "$1" in
         echo "  build    Build SuperGlue clients"
         echo " "
         echo "  testFF   Test Firefox add-on in sandboxed browser"
-        echo "  pkgFF    Make Firefox add-on package (./build/SuperGlue.xpi)"
-        echo "  (----    To package Chromium extension, go there to chrome://extensions)" 
+        echo "  pkgFF    Make Firefox add-on package (./build/superglue.xpi)"
+        echo "  pkgCH    Make Chromium extension package (./build/superglue.crx)"
+ #       echo "  (----    To package Chromium extension, go there to chrome://extensions)" 
         echo " "
         echo "ATTENTION!! Call $0 only in root of the project directory!"
         echo " "

BIN
tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/__init__.pyc


BIN
tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/_version.pyc


BIN
tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/bunch.pyc


BIN
tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/manifest.pyc


BIN
tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/packaging.pyc


BIN
tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/preflight.pyc


BIN
tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/prefs.pyc


BIN
tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/rdf.pyc


BIN
tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/runner.pyc


BIN
tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/util.pyc


BIN
tools/firefox-addon-sdk-1.16/python-lib/cuddlefish/xpi.pyc


BIN
tools/firefox-addon-sdk-1.16/python-lib/jetpack_sdk_env.pyc


BIN
tools/firefox-addon-sdk-1.16/python-lib/mozrunner/__init__.pyc


BIN
tools/firefox-addon-sdk-1.16/python-lib/mozrunner/killableprocess.pyc


BIN
tools/firefox-addon-sdk-1.16/python-lib/simplejson/__init__.pyc


BIN
tools/firefox-addon-sdk-1.16/python-lib/simplejson/decoder.pyc


BIN
tools/firefox-addon-sdk-1.16/python-lib/simplejson/encoder.pyc


BIN
tools/firefox-addon-sdk-1.16/python-lib/simplejson/scanner.pyc