We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19dcc79 commit bcbe1efCopy full SHA for bcbe1ef
1 file changed
build/win32/code.iss
@@ -1,7 +1,8 @@
1
+#define RootLicenseFileName FileExists(RepoDir + '\LICENSE.rtf') ? 'LICENSE.rtf' : 'LICENSE.txt'
2
#define LocalizedLanguageFile(Language = "") \
3
DirExists(RepoDir + "\licenses") && Language != "" \
4
? ('; LicenseFile: "' + RepoDir + '\licenses\LICENSE-' + Language + '.rtf"') \
- : '; LicenseFile: "' + RepoDir + '\LICENSE.rtf"'
5
+ : '; LicenseFile: "' + RepoDir + '\' + RootLicenseFileName + '"'
6
7
[Setup]
8
AppId={#AppId}
0 commit comments