LICENSE.txt, end lines, Windows installer
Okay, so when I package my app, the body of LICENSE.txt is included in the first step of the Windows installer wizard. Great.
However, the text doesn't appear to have any line endings applied.
So, I get this:
This is my license.Lorem ipsum dolor sit amet.Tempus fugit.
Instead of this:
This is my license.
Lorem ipsum dolor sit amet.
Tempus fugit.
How do I fix this?
I've tried using UNIX (LF) endings, and Windows (CRLF) ones as well, in my text file.
Any ideas?
Thanks!
1 Answer
-
Create your license as rtf-document and change in your sdk-folder win32_app.py on line 199 to
license_file = p.join(self.get_contents_dir(), 'LICENSE.rtf')
so you can format your text yet with bold chars oder underlines and so on