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

version 1.1, 2000/09/29 14:40:49 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@collab.net>   *  Pete Collins  <petejc@collab.net
  */   */
    
 var err = initInstall("Aphrodite v0.05 CURENT", "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/";
   
var instDirectory = getFolder("Chrome", "packages/aphrodite");const G_INST_TXT        = "installed-chrome.txt";
 const G_JAR_FILE        = "aphrodite.jar";
   
addDirectory("",        "aphrodite",                                // jar source folder const G_CHROME_DIR      = getFolder(G_CHROME);
                        instDirectory,              // target folder 
                        "");                        // target subdir var err = initInstall(G_MSG, G_NAME, G_VER); 
   
registerChrome( PACKAGE | DELAYED_CHROME, instDirectory );logComment("initInstall: " + err);
 
 addDirectory("", G_RT,  getFolder(G_CHROME, G_RT),      "" );
 
 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)
     performInstall();       performInstall(); 
   
 else  else
     cancelInstall(err);      cancelInstall(err);
   

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


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