-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathREADME
More file actions
26 lines (24 loc) · 966 Bytes
/
Copy pathREADME
File metadata and controls
26 lines (24 loc) · 966 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
* 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/