Browse files

Updated input.plist generation

  • Loading branch information...
1 parent b45be16 commit 4352ed10b35593e977666600a4c9a4a3a8800725 @subtleGradient committed Apr 10, 2012
Showing with 19 additions and 12 deletions.
  1. +3 −1 Appify UI.app/Contents/MacOS/appify-ui.sh
  2. +16 −11 Appify UI.app/Contents/Resources/index.html
View
4 Appify UI.app/Contents/MacOS/appify-ui.sh
@@ -88,12 +88,14 @@ EOF
cat <<-EOF > "$appify_INFO"
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"><plist version="1.0"><dict><key>CFBundlePackageType</key><string>APPL</string><key>CFBundleInfoDictionaryVersion</key><string>6.0</string>
+ <key>CFBundleIconFile</key> <string>$CGI_CFBundleIconFile</string>
+
<key>CFBundleName</key> <string>$CGI_CFBundleName</string>
<key>CFBundleExecutable</key> <string>$CGI_CFBundleExecutable</string>
<key>CFBundleIdentifier</key> <string>$CGI_CFBundleIdentifier</string>
<key>CFBundleVersion</key> <string>$CGI_CFBundleVersion</string>
- <key>CFBundleGetInfoString</key> <string>$CGI_CFBundleGetInfoString</string>
+ <key>NSHumanReadableCopyright</key> <string>$CGI_NSHumanReadableCopyright</string>
<key>CFBundleShortVersionString</key> <string>$CGI_CFBundleShortVersionString</string>
<!-- Needed for Apache Callback -->
View
27 Appify UI.app/Contents/Resources/index.html
@@ -32,6 +32,9 @@
form{text-align:right;display:inline-block;}
input:not([type=submit]){width:40ex;}
+input[type=submit]{font-size:2em;}
+
+p{max-width:44ex; text-align:left; margin-left:auto}
</style>
@@ -45,16 +48,18 @@
<form action=http://localhost:9999>
<label>CFBundleName <input name=CFBundleName value="My Appified App"></label>
- <br>
- <label>CFBundleExecutable <input name=CFBundleExecutable value="app.sh"></label>
- <br>
- <label>CFBundleIdentifier <input name=CFBundleIdentifier value="my.appified.app"></label>
- <br>
- <label>CFBundleVersion <input name=CFBundleVersion value="0.1"></label>
- <br>
- <label>CFBundleGetInfoString <input name=CFBundleGetInfoString value="0.1 Appified by Me Today"></label>
- <br>
- <label>CFBundleShortVersionString <input name=CFBundleShortVersionString value="0.1"></label>
- <br><br>
+ <p></p>
+ <label>CFBundleExecutable <input name=CFBundleExecutable value=app.sh></label>
+ <p></p>
+ <label>CFBundleIdentifier <input name=CFBundleIdentifier value=my.appified.app></label>
+ <p></p>
+ <label>CFBundleIconFile <input name=CFBundleIconFile value=MyAwesomeIcon.icns></label>
+ <p></p>
+ <label>NSHumanReadableCopyright <input name=NSHumanReadableCopyright value="© Copyright 2012 My Name Here"></label>
+ <p></p>
+ <label>CFBundleShortVersionString <input name=CFBundleShortVersionString value=0.1></label>
+ <p><small>Marketing version number for users to see.</small></p>
+ <label>CFBundleVersion <input name=CFBundleVersion placeholder=00001.00.00d value=0.1></label>
+ <p><small>Launch Services expects the following format: <code>nnnnn[.nn[.nn]][X]</code> where n is a digit 0-9, square brackets indicate optional components, and X is any string not starting with a digit. X is ignored when present.</small></p>
<input type=submit value="Appify!">
</form>

0 comments on commit 4352ed1

Please sign in to comment.