Skip to content

Commit

Permalink
Fix phoenix.exe application name in resource file. r=asasaki (delegat…
Browse files Browse the repository at this point in the history
…ed by cls).
  • Loading branch information
bryner%netscape.com committed Oct 1, 2002
1 parent 16dc03d commit 2ca5fe9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
3 changes: 2 additions & 1 deletion browser/app/module.ver
@@ -1 +1,2 @@
WIN32_MODULE_DESCRIPTION=Mozilla
WIN32_MODULE_DESCRIPTION=Phoenix
WIN32_MODULE_PRODUCTNAME=Phoenix
8 changes: 6 additions & 2 deletions config/version_win.pl
Expand Up @@ -140,6 +140,7 @@ sub getNextEntry
#WIN32_MODULE_COPYRIGHT
#WIN32_MODULE_TRADEMARKS
#WIN32_MODULE_ORIGINAL_FILENAME
#WIN32_MODULE_PRODUCTNAME

#Override values obtained from the .ver file
my $override_comment;
Expand All @@ -151,6 +152,7 @@ sub getNextEntry
my $override_copyright;
my $override_trademarks;
my $override_filename;
my $override_productname;
if (open(VERFILE, "<$srcdir/module.ver"))
{

Expand All @@ -166,6 +168,7 @@ sub getNextEntry
if ($a eq "WIN32_MODULE_COPYRIGHT") { $override_copyright = $b; }
if ($a eq "WIN32_MODULE_TRADEMARKS") { $override_trademarks = $b; }
if ($a eq "WIN32_MODULE_ORIGINAL_FILENAME") { $override_filename = $b; }
if ($a eq "WIN32_MODULE_PRODUCTNAME") { $override_productname = $b; }
($a,$b) = getNextEntry();
}
close(VERFILE)
Expand Down Expand Up @@ -238,7 +241,7 @@ sub getNextEntry
my $copyright = "License: MPL 1.1/GPL 2.0/LGPL 2.1";
my $company = "Mozilla, Netscape";
my $trademarks = "Mozilla, Netscape";

my $productname = "Mozilla";


if (defined($override_comment)){$comment=$override_comment;}
Expand All @@ -250,6 +253,7 @@ sub getNextEntry
if (defined($override_copyright)){$copyright=$override_company;}
if (defined($override_trademarks)){$trademarks=$override_trademarks;}
if (defined($override_filename)){$binary=$override_filename;}
if (defined($override_productname)){$productname=$override_productname;}


#Override section
Expand Down Expand Up @@ -393,7 +397,7 @@ BEGIN
};
}
print RCFILE qq{
VALUE "ProductName", "Mozilla"
VALUE "ProductName", "$productname"
END
END
BLOCK "VarFileInfo"
Expand Down

0 comments on commit 2ca5fe9

Please sign in to comment.