Commit d3b72d62 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

replace default nw.js Info.plist with custom one. Not currently using the sed...

replace default nw.js Info.plist with custom one. Not currently using the sed MACROS from Pd-extended (these are shown in the darwin_app/Makefile, and we can add them later for app name and version)
parent 167aaa35
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>14D136</string>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<string>en</string>
<key>CFBundleDisplayName</key>
<string>Purr Data</string>
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>pd</string>
<string>pat</string>
<string>mxt</string>
<string>mxb</string>
<string>help</string>
<string>pd</string>
<string>pat</string>
<string>mxt</string>
<string>mxb</string>
<string>help</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>pd-file.icns</string>
<string>document.icns</string>
<key>CFBundleTypeName</key>
<string>Pure Data Patch</string>
<string>Pd file</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
</dict>
</array>
<key>CFBundleExecutable</key>
<string>PD_APP_NAME</string>
<string>nwjs</string>
<key>CFBundleIconFile</key>
<string>pd.icns</string>
<string>app.icns</string>
<key>CFBundleIdentifier</key>
<string>org.puredata.pd.wish</string>
<string>net.purrdata.nwjs</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>PD_SHORT_NAME</string>
<string>Purr Data</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>CFBUNDLESHORTVERSIONSTRING</string>
<key>CFBundleSignature</key>
<string>PdPd</string>
<string>54.0.2840.71</string>
<key>CFBundleVersion</key>
<string>CFBUNDLEVERSION</string>
<key>LSBackgroundOnly</key>
<false/>
<key>LSEnvironment</key>
<dict>
<key>EXAMPLE_ENVIRONMENT_VARIABLE</key>
<string>this is just a test</string>
</dict>
<key>LSUIElement</key>
<integer>0</integer>
<key>LSUIPresentationMode</key>
<integer>0</integer>
<string>2840.71</string>
<key>LSFileQuarantineEnabled</key>
<true/>
<key>LSHasLocalizedDisplayName</key>
<string>1</string>
<key>LSMinimumSystemVersion</key>
<string>10.9.0</string>
<key>NSAppleScriptEnabled</key>
<true/>
<key>NSPrincipalClass</key>
<string>BrowserCrApplication</string>
<key>NSSupportsAutomaticGraphicsSwitching</key>
<true/>
<key>NSUserActivityTypes</key>
<array>
<string>NSUserActivityTypeBrowsingWeb</string>
</array>
<key>NSUserNotificationAlertStyle</key>
<string>banner</string>
<key>OSAScriptingDefinition</key>
<string>scripting.sdef</string>
<key>SCMRevision</key>
<string>1d4579db757b41f0c86527a91f2d2bff04e936c6</string>
<key>UTExportedTypeDeclarations</key>
<array>
<dict>
<key>UTTypeConformsTo</key>
<string>public.plain-text</string>
<key>UTTypeIdentifier</key>
<string>org.puredata.pd-patch</string>
<string>net.purrdata.pd-patch</string>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
......@@ -67,19 +80,6 @@
</array>
</dict>
</dict>
<dict>
<key>UTTypeConformsTo</key>
<string>public.plain-text</string>
<key>UTTypeIdentifier</key>
<string>org.puredata.max-patch</string>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<array>
<string>pat</string>
</array>
</dict>
</dict>
</array>
</dict>
</plist>
......@@ -145,7 +145,7 @@ darwin_app_wrapper: Info.plist
# set up app wrapper
install -d "$(PD_APP_CONTENTS)/Resources/app.nw"
# The nw.js app has its own Info.plist
#install -m0644 -p Info.plist "$(PD_APP_CONTENTS)"
install -m0644 -p Info.plist "$(PD_APP_CONTENTS)"
install -m0644 -p *.icns "$(PD_APP_CONTENTS)/Resources"
#mv "$(PD_APP_CONTENTS)/MacOS/${WISH_NAME}" \
# "$(PD_APP_CONTENTS)/MacOS/${PD_APP_NAME}"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment