File:  [mozdev] / aphrodite / aphrodite / install.js
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Fri Sep 29 14:58:18 2000 UTC (18 years, 5 months ago) by petejc
Branches: MAIN
CVS tags: HEAD
attempt to get Aphrodite nightly xpi working again

--pete

    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>  
   23:  *  Pete Collins <petejc@collab.net>  
   24:  */
   25:  
   26: var err = initInstall("Aphrodite v0.05 CURENT", "Aphrodite", "0.0.5.0"); 
   27: logComment("initInstall: " + err);
   28: 
   29: addFile("Aphrodite", "installed-chrome.txt", getFolder("Chrome"), "");
   30: 
   31: var instDirectory = getFolder("Chrome", "aphrodite");
   32: 
   33: addDirectory("", 	"aphrodite",				    		// jar source folder 
   34:              			instDirectory,              // target folder
   35:              			"");                        // target subdir 
   36: 
   37: registerChrome( PACKAGE | DELAYED_CHROME, instDirectory );
   38: 
   39: err = getLastError();
   40: if (err==SUCCESS)
   41:     performInstall(); 
   42: 
   43: else
   44:     cancelInstall(err);
   45: 

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