xpinstall/packager/os2/editor.jst
author sdwilsh@shawnwilsher.com
Wed, 23 May 2007 11:08:10 -0700
changeset 1787 dfbcd592e4c1bf1d2f6c5389330e3ae52d0cce9d
parent 1 9b2a99adc05e53cd4010de512f50118594756650
permissions -rw-r--r--
Bug 381468 - Convert toolkit application/x-javascript to application/javascript. r=gavin.sharp

var err = initInstall("SeaMonkey Editor", "Editor", "$Version$"); 
logComment("initInstall: " + err);

var communicatorFolder = getFolder("Communicator");
logComment("communicatorFolder: " + communicatorFolder);

err = addDirectory("Program",
                   "$Version$",
                   "bin",              // fileName in jar, 
                   communicatorFolder, // Where to put this file (Returned from getFolder) 
                   "",                 // fileName in jar, 
                   true);              // Force Flag 

logComment("addDirectory() returned: " + err);

err = performInstall(); 
logComment("performInstall() returned: " + err);