From c6845a798c99e96aa0e2f6daece0684a8ac50681 Mon Sep 17 00:00:00 2001 From: Christian Segundo Date: Sun, 19 Nov 2023 16:21:29 +0100 Subject: wip --- .../vim-handler.app/Contents/Info.plist | 87 ++++++++++ .../vim-handler.app/Contents/MacOS/applet | Bin 0 -> 134000 bytes example-handlers/vim-handler.app/Contents/PkgInfo | 1 + .../Contents/Resources/Scripts/main.scpt | Bin 0 -> 718 bytes .../vim-handler.app/Contents/Resources/applet.icns | Bin 0 -> 71867 bytes .../vim-handler.app/Contents/Resources/applet.rsrc | Bin 0 -> 362 bytes .../Contents/Resources/description.rtfd/TXT.rtf | 5 + .../Contents/_CodeSignature/CodeResources | 177 +++++++++++++++++++++ 8 files changed, 270 insertions(+) create mode 100644 example-handlers/vim-handler.app/Contents/Info.plist create mode 100755 example-handlers/vim-handler.app/Contents/MacOS/applet create mode 100644 example-handlers/vim-handler.app/Contents/PkgInfo create mode 100644 example-handlers/vim-handler.app/Contents/Resources/Scripts/main.scpt create mode 100644 example-handlers/vim-handler.app/Contents/Resources/applet.icns create mode 100644 example-handlers/vim-handler.app/Contents/Resources/applet.rsrc create mode 100644 example-handlers/vim-handler.app/Contents/Resources/description.rtfd/TXT.rtf create mode 100644 example-handlers/vim-handler.app/Contents/_CodeSignature/CodeResources (limited to 'example-handlers') diff --git a/example-handlers/vim-handler.app/Contents/Info.plist b/example-handlers/vim-handler.app/Contents/Info.plist new file mode 100644 index 0000000..af0ad74 --- /dev/null +++ b/example-handlers/vim-handler.app/Contents/Info.plist @@ -0,0 +1,87 @@ + + + + + CFBundleAllowMixedLocalizations + + CFBundleDevelopmentRegion + en + CFBundleExecutable + applet + CFBundleIconFile + applet + CFBundleIdentifier + com.apple.ScriptEditor.id.vim-handler + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + vim-handler + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleSignature + aplt + CFBundleURLTypes + + + CFBundleURLName + HTTPS URL + CFBundleURLSchemes + + https+vim + + + + LSMinimumSystemVersionByArchitecture + + x86_64 + 10.6 + + LSRequiresCarbon + + NSAppleEventsUsageDescription + This script needs to control other applications to run. + NSAppleMusicUsageDescription + This script needs access to your music to run. + NSCalendarsUsageDescription + This script needs access to your calendars to run. + NSCameraUsageDescription + This script needs access to your camera to run. + NSContactsUsageDescription + This script needs access to your contacts to run. + NSHomeKitUsageDescription + This script needs access to your HomeKit Home to run. + NSMicrophoneUsageDescription + This script needs access to your microphone to run. + NSPhotoLibraryUsageDescription + This script needs access to your photos to run. + NSRemindersUsageDescription + This script needs access to your reminders to run. + NSSiriUsageDescription + This script needs access to Siri to run. + NSSystemAdministrationUsageDescription + This script needs access to administer this system to run. + OSAAppletShowStartupScreen + + WindowState + + bundleDividerCollapsed + + bundlePositionOfDivider + 0.0 + dividerCollapsed + + eventLogLevel + 2 + name + ScriptWindowState + positionOfDivider + 419 + savedFrame + 1023 165 700 678 0 0 1920 1055 + selectedTab + description + + + diff --git a/example-handlers/vim-handler.app/Contents/MacOS/applet b/example-handlers/vim-handler.app/Contents/MacOS/applet new file mode 100755 index 0000000..d3df3b9 Binary files /dev/null and b/example-handlers/vim-handler.app/Contents/MacOS/applet differ diff --git a/example-handlers/vim-handler.app/Contents/PkgInfo b/example-handlers/vim-handler.app/Contents/PkgInfo new file mode 100644 index 0000000..3253614 --- /dev/null +++ b/example-handlers/vim-handler.app/Contents/PkgInfo @@ -0,0 +1 @@ +APPLaplt \ No newline at end of file diff --git a/example-handlers/vim-handler.app/Contents/Resources/Scripts/main.scpt b/example-handlers/vim-handler.app/Contents/Resources/Scripts/main.scpt new file mode 100644 index 0000000..3dea2a2 Binary files /dev/null and b/example-handlers/vim-handler.app/Contents/Resources/Scripts/main.scpt differ diff --git a/example-handlers/vim-handler.app/Contents/Resources/applet.icns b/example-handlers/vim-handler.app/Contents/Resources/applet.icns new file mode 100644 index 0000000..0cdd170 Binary files /dev/null and b/example-handlers/vim-handler.app/Contents/Resources/applet.icns differ diff --git a/example-handlers/vim-handler.app/Contents/Resources/applet.rsrc b/example-handlers/vim-handler.app/Contents/Resources/applet.rsrc new file mode 100644 index 0000000..f70b834 Binary files /dev/null and b/example-handlers/vim-handler.app/Contents/Resources/applet.rsrc differ diff --git a/example-handlers/vim-handler.app/Contents/Resources/description.rtfd/TXT.rtf b/example-handlers/vim-handler.app/Contents/Resources/description.rtfd/TXT.rtf new file mode 100644 index 0000000..49a9a1b --- /dev/null +++ b/example-handlers/vim-handler.app/Contents/Resources/description.rtfd/TXT.rtf @@ -0,0 +1,5 @@ +{\rtf1\ansi\ansicpg1252\cocoartf2757 +\cocoatextscaling0\cocoaplatform0{\fonttbl} +{\colortbl;\red255\green255\blue255;} +{\*\expandedcolortbl;;} +} \ No newline at end of file diff --git a/example-handlers/vim-handler.app/Contents/_CodeSignature/CodeResources b/example-handlers/vim-handler.app/Contents/_CodeSignature/CodeResources new file mode 100644 index 0000000..e3d7f52 --- /dev/null +++ b/example-handlers/vim-handler.app/Contents/_CodeSignature/CodeResources @@ -0,0 +1,177 @@ + + + + + files + + Resources/Scripts/main.scpt + + EETGMkBCn2b9FcPxvdc5upETs6k= + + Resources/applet.icns + + sINd6lbiqHD5dL8c6u79cFvVXhw= + + Resources/applet.rsrc + + YiCnW3ykdJlnp9Xukl/hn/ZZf80= + + Resources/description.rtfd/TXT.rtf + + gWdu82pZeO6+KzdO5i4KmnMvUYQ= + + + files2 + + Resources/Scripts/main.scpt + + hash + + EETGMkBCn2b9FcPxvdc5upETs6k= + + hash2 + + LB2/m8n5BaEHBzlA96AhO6oR36uU08IkQzuhYZGkWhg= + + + Resources/applet.icns + + hash + + sINd6lbiqHD5dL8c6u79cFvVXhw= + + hash2 + + J7weZ6vlnv9r32tS5HFcyuPXl2StdDnfepLxAixlryk= + + + Resources/applet.rsrc + + hash + + YiCnW3ykdJlnp9Xukl/hn/ZZf80= + + hash2 + + /ft2GMgtnIjlClHI13vJnzISA4Lu74YZMO+IkeUyOtY= + + + Resources/description.rtfd/TXT.rtf + + hash + + gWdu82pZeO6+KzdO5i4KmnMvUYQ= + + hash2 + + td6ORViAPbolKCyWzz9ZbT1kN11R0lSv7s84qe+itPQ= + + + + rules + + ^Resources/ + + ^Resources/.*\.lproj/ + + optional + + weight + 1000 + + ^Resources/.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Resources/Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/ + + nested + + weight + 10 + + ^.* + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^Resources/ + + weight + 20 + + ^Resources/.*\.lproj/ + + optional + + weight + 1000 + + ^Resources/.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Resources/Base\.lproj/ + + weight + 1010 + + ^[^/]+$ + + nested + + weight + 10 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + -- cgit v1.2.3