Skip to content

Commit

Permalink
Merge pull request #430 from nodetemple/rcedit-copyright
Browse files Browse the repository at this point in the history
Set default/optional LegalCopyright for Setup.exe from nuspec/nupkg
  • Loading branch information
anaisbetts committed Sep 6, 2015
2 parents cd52e26 + 7433e9a commit f5feff5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Update/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -581,6 +581,7 @@ static async Task setPEVersionInfoAndIcon(string exePath, IPackage package, stri
{
var verStrings = new Dictionary<string, string>() {
{ "CompanyName", package.Authors.First() },
{ "LegalCopyright", package.Copyright ?? "Copyright © " + DateTime.Now.Year.ToString() + " " + package.Authors.First() },
{ "FileDescription", package.Summary ?? package.Description ?? "Installer for " + package.Id },
{ "ProductName", package.Description ?? package.Summary ?? package.Id },
};
Expand Down

0 comments on commit f5feff5

Please sign in to comment.