From 1c8a91d4df9593f3a24efbf945afabb0efa80ccc Mon Sep 17 00:00:00 2001 From: Jens Verwiebe Date: Sat, 15 Oct 2011 14:21:03 +0000 Subject: OSX: add editable applescript to not have the script a blackbox --- source/darwin/blender.app/Contents/Info.plist | 48 ++++++++++----------- .../Contents/Resources/Scripts/main.scpt | Bin 4542 -> 4696 bytes .../darwin/set_simulation_threads_applescript.scpt | Bin 0 -> 5140 bytes 3 files changed, 24 insertions(+), 24 deletions(-) create mode 100644 source/darwin/set_simulation_threads_applescript.scpt (limited to 'source/darwin') diff --git a/source/darwin/blender.app/Contents/Info.plist b/source/darwin/blender.app/Contents/Info.plist index a25c629ce68..7fab4a98c4b 100644 --- a/source/darwin/blender.app/Contents/Info.plist +++ b/source/darwin/blender.app/Contents/Info.plist @@ -2,29 +2,13 @@ - CFBundleInfoDictionaryVersion - 6.0 - CFBundleExecutable - blender - CFBundlePackageType - APPL - CFBundleSignature - ???? - CFBundleIconFile - blender icon.icns - CFBundleName - Blender - CFBundleIdentifier - org.blenderfoundation.blender - CFBundleVersion - ${MACOSX_BUNDLE_LONG_VERSION_STRING}, Blender Foundation - CFBundleShortVersionString - ${MACOSX_BUNDLE_SHORT_VERSION_STRING} - CFBundleGetInfoString - ${MACOSX_BUNDLE_LONG_VERSION_STRING}, Blender Foundation CFBundleDocumentTypes + CFBundleTypeExtensions + + blend + CFBundleTypeIconFile blender file icon.icns CFBundleTypeName @@ -33,16 +17,32 @@ BLND - CFBundleTypeExtensions - - blend - CFBundleTypeRole Editor LSIsAppleDefaultForType + CFBundleExecutable + blender + CFBundleGetInfoString + ${MACOSX_BUNDLE_LONG_VERSION_STRING}, Blender Foundation + CFBundleIconFile + blender icon.icns + CFBundleIdentifier + org.blenderfoundation.blender + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + Blender + CFBundlePackageType + APPL + CFBundleShortVersionString + ${MACOSX_BUNDLE_SHORT_VERSION_STRING} + CFBundleSignature + ???? + CFBundleVersion + ${MACOSX_BUNDLE_LONG_VERSION_STRING}, Blender Foundation LSEnvironment OMP_NUM_THREADS diff --git a/source/darwin/set_simulation_threads.app/Contents/Resources/Scripts/main.scpt b/source/darwin/set_simulation_threads.app/Contents/Resources/Scripts/main.scpt index 44a107abf78..7a0e345348c 100644 Binary files a/source/darwin/set_simulation_threads.app/Contents/Resources/Scripts/main.scpt and b/source/darwin/set_simulation_threads.app/Contents/Resources/Scripts/main.scpt differ diff --git a/source/darwin/set_simulation_threads_applescript.scpt b/source/darwin/set_simulation_threads_applescript.scpt new file mode 100644 index 00000000000..ba05af64178 Binary files /dev/null and b/source/darwin/set_simulation_threads_applescript.scpt differ -- cgit v1.2.3