Diff for /aphrodite/aphrodite/install.js between versions 1.5 and 1.6

version 1.5, 2002/04/03 13:56:03 version 1.6, 2002/04/03 14:55:39
Line 1 Line 1
/* -*- Mode: Javascript; tab-width: 4; c-basic-offset: 4; -*-/* -*- Mode: Javascript; tab-width: 2; c-basic-offset: 2; -*-
  *    * 
  * The contents of this file are subject to the Netscape Public   * The contents of this file are subject to the Netscape Public
  * License Version 1.1 (the "License"); you may not use this file   * License Version 1.1 (the "License"); you may not use this file
Line 19 Line 19
  *   *
  * Contributor(s):    * Contributor(s): 
  *   *
 *  Doug Turner <dougt@acm.org>   *  Doug Turner   <dougt@acm.org
 *  Pete Collins <petejc@mozdev.org>   *  Pete Collins  <petejc@collab.net> 
  */   */
    
 var err = initInstall("Aphrodite v0.05 CURENT *This is an unstable development version*", "Aphrodite", "0.0.5.0");   
 logComment("initInstall: " + err);  
   
addFile("Aphrodite", "installed-chrome.txt", getFolder("Chrome"), "");const G_MSG             = "Aphrodite v0.06";
 const G_NAME            = "Aphrodite";
 const G_VER             = "0.06";
 const G_CHROME          = "Chrome";
 const G_RT              = "aphrodite";
 const G_CONTENT         = "content/";
 const G_SKIN            = "skin/";
 const G_LOCALE          = "locale/en-US/";
 
 const G_INST_TXT        = "installed-chrome.txt";
 const G_JAR_FILE        = "aphrodite.jar";
   
var instDirectory = getFolder("Chrome", "aphrodite");const G_CHROME_DIR      = getFolder(G_CHROME);
  
 var err = initInstall(G_MSG, G_NAME, G_VER); 
 
 logComment("initInstall: " + err);
   
addDirectory("",  "aphrodite",                // jar source folder addDirectory("", G_RT,  getFolder(G_CHROME, G_RT),       "" );
                  instDirectory,              // target folder 
                  "");                        // target subdir  
   
registerChrome( PACKAGE | DELAYED_CHROME, instDirectory );registerChrome( PACKAGE|DELAYED_CHROME, getFolder(G_CHROME, G_TB), G_CONTENT );
 registerChrome( PACKAGE|DELAYED_CHROME, getFolder(G_CHROME, G_TB), G_SKIN );
 registerChrome( PACKAGE|DELAYED_CHROME, getFolder(G_CHROME, G_TB), G_LOCALE );
   
 err = getLastError();  err = getLastError();
 if (err==SUCCESS)  if (err==SUCCESS)

Removed from v.1.5  
changed lines
  Added in v.1.6


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>