mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
bug 97945, "venkkman install packaging", sr=shaver, r=ssu,jj
initial add of venkman install.js templates
This commit is contained in:
parent
f65d7bf81f
commit
00692d26fa
30
xpinstall/packager/mac/venkman.jst
Normal file
30
xpinstall/packager/mac/venkman.jst
Normal file
@ -0,0 +1,30 @@
|
||||
var srDest = $SpaceRequired$;
|
||||
|
||||
var err = initInstall("Venkman", "JavaScript Debugger", "$Version$");
|
||||
logComment("initInstall: " + err);
|
||||
|
||||
var fProgram = getFolder("Program");
|
||||
|
||||
if (verifyDiskSpace(fProgram, srDest))
|
||||
{
|
||||
addFile("Venkman Service",
|
||||
"viewer/Components/venkman-service.js",
|
||||
getFolder(fProgram,"Components"),
|
||||
"");
|
||||
|
||||
addFile("Venkman Chrome",
|
||||
"viewer/chrome/venkman.jar", // jar source folder
|
||||
getFolder("Chrome"), // target folder
|
||||
""); // target subdir
|
||||
|
||||
registerChrome(PACKAGE | DELAYED_CHROME, getFolder("Chrome","venkman.jar"), "content/venkman/");
|
||||
registerChrome(SKIN | DELAYED_CHROME, getFolder("Chrome","venkman.jar"), "skin/modern/venkman/");
|
||||
registerChrome(LOCALE | DELAYED_CHROME, getFolder("Chrome","venkman.jar"), "locale/en-US/venkman/");
|
||||
|
||||
if (err==SUCCESS)
|
||||
performInstall();
|
||||
else
|
||||
cancelInstall(err);
|
||||
}
|
||||
else
|
||||
cancelInstall(INSUFFICIENT_DISK_SPACE);
|
30
xpinstall/packager/unix/venkman.jst
Normal file
30
xpinstall/packager/unix/venkman.jst
Normal file
@ -0,0 +1,30 @@
|
||||
var srDest = $SpaceRequired$;
|
||||
|
||||
var err = initInstall("Venkman", "JavaScript Debugger", "$Version$");
|
||||
logComment("initInstall: " + err);
|
||||
|
||||
if (verifyDiskSpace(getFolder("Program"), srDest))
|
||||
{
|
||||
addFile("Venkman Service",
|
||||
"$Version$",
|
||||
"bin/components/venkman-service.js",
|
||||
getFolder("Components"),
|
||||
"venkman-service.js",
|
||||
true);
|
||||
|
||||
addFile("Venkman Chrome",
|
||||
"bin/chrome/venkman.jar", // jar source folder
|
||||
getFolder("Chrome"), // target folder
|
||||
""); // target subdir
|
||||
|
||||
registerChrome(PACKAGE | DELAYED_CHROME, getFolder("Chrome","venkman.jar"), "content/venkman/");
|
||||
registerChrome(SKIN | DELAYED_CHROME, getFolder("Chrome","venkman.jar"), "skin/modern/venkman/");
|
||||
registerChrome(LOCALE | DELAYED_CHROME, getFolder("Chrome","venkman.jar"), "locale/en-US/venkman/");
|
||||
|
||||
if (err==SUCCESS)
|
||||
performInstall();
|
||||
else
|
||||
cancelInstall(err);
|
||||
}
|
||||
else
|
||||
cancelInstall(INSUFFICIENT_DISK_SPACE);
|
26
xpinstall/packager/windows/venkman.jst
Normal file
26
xpinstall/packager/windows/venkman.jst
Normal file
@ -0,0 +1,26 @@
|
||||
$Ren8dot3List$
|
||||
|
||||
var err = initInstall("Venkman", "JavaScript Debugger", "$Version$");
|
||||
logComment("initInstall: " + err);
|
||||
|
||||
$Ren8dot3Call$
|
||||
|
||||
addFile("Venkman Service",
|
||||
"bin/components/venkman-service.js",
|
||||
getFolder("Components"),
|
||||
"");
|
||||
|
||||
addFile("Venkman Chrome",
|
||||
"bin/chrome/venkman.jar", // jar source folder
|
||||
getFolder("Chrome"), // target folder
|
||||
""); // target subdir
|
||||
|
||||
registerChrome(PACKAGE | DELAYED_CHROME, getFolder("Chrome","venkman.jar"), "content/venkman/");
|
||||
registerChrome(SKIN | DELAYED_CHROME, getFolder("Chrome","venkman.jar"), "skin/modern/venkman/");
|
||||
registerChrome(LOCALE | DELAYED_CHROME, getFolder("Chrome","venkman.jar"), "locale/en-US/venkman/");
|
||||
|
||||
err = getLastError();
|
||||
if (err==SUCCESS)
|
||||
performInstall();
|
||||
else
|
||||
cancelInstall(err);
|
Loading…
Reference in New Issue
Block a user