if (!fname) { fname = this.name; } else { this.name = fname; }
if (!fname) throw('Must specify a filename.');
+ /* FIXME - need to make a build directive for this */
switch(path) {
+ case 'profile' :
+ this._file = this.dirService.get( "UChrm", Components.interfaces.nsIFile );
+ //this._file = this.dirService.get( "ProfD", Components.interfaces.nsIFile );
+ break;
+ default:
case 'chrome' :
this._file = this.dirService.get( "AChrom", Components.interfaces.nsIFile );
this._file.append(myPackageDir);
this._file.append("content");
this._file.append("conf");
break;
- default:
- case 'profile' :
- this._file = this.dirService.get( "UChrm", Components.interfaces.nsIFile );
- //this._file = this.dirService.get( "ProfD", Components.interfaces.nsIFile );
- break;
}
this._file.append(fname);