Skip to content

Mirror of Rainer Brockerhoff's "AddLicense" tool

License

Notifications You must be signed in to change notification settings

WinnieZy/dmg-add-license

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

/*
 *  main.c
 *
 *  Created by Rainer Brockerhoff on 29/4/08.
 *  Copyright 2008-2010 Rainer Brockerhoff. All rights reserved.
 *
 *  This command-line utility adds one license at a time to unflattened disk images.
 *  It's meant to be used inside build scripts.
 *
 *  Usage: AddLicense /path/to/TheUnflattened.dmg Language /path/to/TheLicense.rtf
 *
 *  The language parameter can be either short (en) or long (English) form.
 *  The strings for each language are inside the license.plist file.
 *  There must be one number and 9 strings for every language; the number is the output string
 *  encoding (kTextEncodingMacXYZ in TextCommon.h). The string group is actually indexed
 *  by the ISO short language name. All strings are converted to the encoding
 *  specified; usually this should be MacRoman.
 *
 *  This should run on 10.5 and up.
 *  
 */

See also:

* http://brockerhoff.net/src/index.html
* http://brockerhoff.net/blog/2010/02/10/addlicense-tool/

About

Mirror of Rainer Brockerhoff's "AddLicense" tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 100.0%