mirror of
https://github.com/rn10950/RetroZilla.git
synced 2024-11-10 18:00:15 +01:00
23 lines
629 B
JavaScript
23 lines
629 B
JavaScript
|
|
|
|
var gVersion = "0.2.1";
|
|
|
|
var err = initInstall("CaScadeS", "cascades", gVersion);
|
|
logComment("initInstall: " + err);
|
|
|
|
var fProgram = getFolder("Program");
|
|
logComment("fProgram: " + fProgram);
|
|
|
|
err = addDirectory("", gVersion, "bin", fProgram, "", true);
|
|
logComment("addDirectory: " + err);
|
|
|
|
registerChrome(CONTENT | DELAYED_CHROME, getFolder("Chrome","cascades.jar"), "content/cascades/");
|
|
registerChrome(LOCALE | DELAYED_CHROME, getFolder("Chrome","cascades.jar"), "locale/en-US/cascades/");
|
|
|
|
if (getLastError() == SUCCESS) {
|
|
err = performInstall();
|
|
logComment("performInstall: " + err);
|
|
} else {
|
|
cancelInstall(err);
|
|
}
|