OSDN Git Service

Initial version.
[pizza-ipa-oss/jre.git] / features / jp.pizzafactory.com.sun.jre / root.win32.win32.x86 / jre / lib / deploy / jqs / ff / chrome / content / overlay.js
1 //\r
2 // Copyright 2007 Sun Microsystems, Inc.  All rights reserved.\r
3 // SUN PROPRIETARY/CONFIDENTIAL.  Use is subject to license terms.\r
4 //\r
5 \r
6 // get the JQS extension directory\r
7 const id = "jqs@sun.com";\r
8 var ext = Components.classes["@mozilla.org/extensions/manager;1"]\r
9                     .getService(Components.interfaces.nsIExtensionManager)\r
10                     .getInstallLocation(id)\r
11                     .getItemLocation(id); \r
12 \r
13 // create an nsILocalFile for the executable\r
14 var file = Components.classes["@mozilla.org/file/local;1"]\r
15                      .createInstance(Components.interfaces.nsILocalFile);\r
16 \r
17 // construct command line                     \r
18 file.initWithPath(ext.path + "\\..\\..\\..\\..\\bin\\jqsnotify.exe");\r
19 \r
20 // and launch it\r
21 file.launch();\r
22 \r