Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

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!

— asked November 18th 2010 by Joshua Pruitt
  • desktop
  • endline
  • installer
  • license
  • license.txt
  • msi
  • package
  • word
  • wrap
1 Comment
  • Anyone?… :(

    — commented November 24th 2010 by Joshua Pruitt

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

    — answered April 1st 2012 by Udo Hempel
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.