Skip to content

Commit

Permalink
Gen weird other license file that exists for some reason
Browse files Browse the repository at this point in the history
  • Loading branch information
FenPhoenix committed Aug 16, 2023
1 parent db410ef commit 2929dc8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion AngelLoader/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2018-2022 Brian Tobin (FenPhoenix)
Copyright (c) 2018-2023 Brian Tobin (FenPhoenix)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
6 changes: 4 additions & 2 deletions FenGen/CopyrightGen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,12 @@ private static void GenCurrentYear(string destFile)

private static void GenLicenses()
{
string gitLicenseFile = Path.Combine(Core.ALSolutionPath, "LICENSE");
string gitSolutionLicenseFile = Path.Combine(Core.ALSolutionPath, "LICENSE");
string gitALProjectLicenseFile = Path.Combine(Core.ALProjectPath, "LICENSE");
string distLicenseFile = Path.Combine(Core.ALSolutionPath, "BinReleaseOnly", "Licenses", "AngelLoader license.txt");

File.WriteAllLines(gitLicenseFile, MitLicenseLines);
File.WriteAllLines(gitSolutionLicenseFile, MitLicenseLines);
File.WriteAllLines(gitALProjectLicenseFile, MitLicenseLines);

var distLicenseLines = new List<string>();
distLicenseLines.AddRange(LicenseTopLines);
Expand Down

0 comments on commit 2929dc8

Please sign in to comment.