Annotation of aphrodite/aphrodite/install.js, revision 1.5

1.1       petejc      1: /* -*- Mode: Javascript; tab-width: 4; c-basic-offset: 4; -*-
                      2:  * 
                      3:  * The contents of this file are subject to the Netscape Public
                      4:  * License Version 1.1 (the "License"); you may not use this file
                      5:  * except in compliance with the License. You may obtain a copy of
                      6:  * the License at http://www.mozilla.org/NPL/
                      7:  *
                      8:  * Software distributed under the License is distributed on an "AS
                      9:  * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
                     10:  * implied. See the License for the specific language governing
                     11:  * rights and limitations under the License.
                     12:  *
                     13:  * The Original Code is mozilla.org code.
                     14:  *
                     15:  * The Initial Developer of the Original Code is Netscape
                     16:  * Communications Corporation.  Portions created by Netscape are
                     17:  * Copyright (C) 1998 Netscape Communications Corporation. All
                     18:  * Rights Reserved.
                     19:  *
                     20:  * Contributor(s): 
                     21:  *
                     22:  *  Doug Turner <dougt@acm.org>  
1.5     ! petejc     23:  *  Pete Collins <petejc@mozdev.org>  
1.1       petejc     24:  */
                     25:  
1.3       petejc     26: var err = initInstall("Aphrodite v0.05 CURENT *This is an unstable development version*", "Aphrodite", "0.0.5.0"); 
1.1       petejc     27: logComment("initInstall: " + err);
                     28: 
                     29: addFile("Aphrodite", "installed-chrome.txt", getFolder("Chrome"), "");
                     30: 
1.2       petejc     31: var instDirectory = getFolder("Chrome", "aphrodite");
1.1       petejc     32: 
1.4       petejc     33: addDirectory("",  "aphrodite",                // jar source folder 
                     34:                   instDirectory,              // target folder
                     35:                   "");                        // target subdir 
1.1       petejc     36: 
                     37: registerChrome( PACKAGE | DELAYED_CHROME, instDirectory );
                     38: 
                     39: err = getLastError();
                     40: if (err==SUCCESS)
                     41:     performInstall(); 
1.2       petejc     42: 
1.1       petejc     43: else
                     44:     cancelInstall(err);
                     45: 

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