~ubuntu-branches/ubuntu/precise/kompozer/precise

« back to all changes in this revision

Viewing changes to mozilla/xpinstall/packager/windows/chatzilla.jst

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Yarusso
  • Date: 2007-08-27 01:11:03 UTC
  • Revision ID: james.westby@ubuntu.com-20070827011103-2jgf4s6532gqu2ka
Tags: upstream-0.7.10
ImportĀ upstreamĀ versionĀ 0.7.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
var err = initInstall("Chatzilla v0.5", "Chatzilla", "$Version$"); 
 
2
logComment("initInstall: " + err);
 
3
 
 
4
addFile("Chatzilla service",
 
5
        "bin/components/chatzilla-service.js",
 
6
        getFolder("Components"),
 
7
        "");
 
8
 
 
9
addFile("Chatzilla Chrome",
 
10
        "bin/chrome/chatzilla.jar", // jar source folder 
 
11
        getFolder("Chrome"),        // target folder
 
12
        "");                        // target subdir 
 
13
 
 
14
addDirectory("Chatzilla Icons",
 
15
             "bin/chrome/icons",  // jar source folder
 
16
             getFolder("Chrome", "icons"), // target folder
 
17
             "");                 // target subdir
 
18
 
 
19
registerChrome(PACKAGE | DELAYED_CHROME, getFolder("Chrome","chatzilla.jar"), "content/chatzilla/");
 
20
registerChrome(SKIN | DELAYED_CHROME, getFolder("Chrome","chatzilla.jar"), "skin/modern/chatzilla/");
 
21
registerChrome(LOCALE | DELAYED_CHROME, getFolder("Chrome","chatzilla.jar"), "locale/en-US/chatzilla/");
 
22
 
 
23
err = getLastError();
 
24
if (err==SUCCESS)
 
25
    performInstall(); 
 
26
else
 
27
    cancelInstall(err);
 
28