Diff for /aphrodite/aphrodite/install.js between versions 1.3 and 1.8

version 1.3, 2000/10/02 17:33:07 version 1.8, 2002/04/15 04:16: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@collab.net>   *  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.6";
 const G_NAME            = "Aphrodite";
 const G_VER             = "0.6";
 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_RT), G_CONTENT );
 registerChrome( PACKAGE|DELAYED_CHROME, getFolder(G_CHROME, G_RT), G_SKIN );
 registerChrome( PACKAGE|DELAYED_CHROME, getFolder(G_CHROME, G_RT), G_LOCALE );
   
 err = getLastError();  err = getLastError();
 if (err==SUCCESS)  if (err==SUCCESS)

Removed from v.1.3  
changed lines
  Added in v.1.8


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