Skip to content

Commit

Permalink
Automator script updated
Browse files Browse the repository at this point in the history
  • Loading branch information
bil0u committed Jan 9, 2023
1 parent b5674cb commit 3a9df46
Show file tree
Hide file tree
Showing 9 changed files with 216 additions and 27 deletions.
51 changes: 35 additions & 16 deletions bin/nzbget-file-opener_macOS.app/Contents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<key>AMStayOpen</key>
<false/>
<key>BuildMachineOSBuild</key>
<string>16B2657</string>
<string>20A241133</string>
<key>CFBundleAllowMixedLocalizations</key>
<true/>
<key>CFBundleDevelopmentRegion</key>
Expand All @@ -30,9 +30,9 @@
</dict>
</array>
<key>CFBundleExecutable</key>
<string>Application Stub</string>
<string>Automator Application Stub</string>
<key>CFBundleIconFile</key>
<string>AutomatorApplet</string>
<string>ApplicationStub</string>
<key>CFBundleIdentifier</key>
<string>com.apple.automator.nzbget-file-opener_macOS</string>
<key>CFBundleInfoDictionaryVersion</key>
Expand All @@ -52,36 +52,55 @@
<key>CFBundleURLTypes</key>
<array/>
<key>CFBundleVersion</key>
<string>444.7</string>
<string>520</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>9P107g</string>
<string>14A6270d</string>
<key>DTPlatformName</key>
<string>macosx</string>
<key>DTPlatformVersion</key>
<string>GM</string>
<string>13.1</string>
<key>DTSDKBuild</key>
<string>17G11015</string>
<string>22C48</string>
<key>DTSDKName</key>
<string>macosx10.13internal</string>
<string>macosx13.1.internal</string>
<key>DTXcode</key>
<string>0930</string>
<string>1400</string>
<key>DTXcodeBuild</key>
<string>9P107g</string>
<string>14A6270d</string>
<key>LSMinimumSystemVersion</key>
<string>10.5</string>
<key>LSMinimumSystemVersionByArchitecture</key>
<dict>
<key>x86_64</key>
<string>10.6</string>
</dict>
<string>10.9</string>
<key>LSUIElement</key>
<true/>
<key>NSAppleEventsUsageDescription</key>
<string>This workflow needs to control other applications to run.</string>
<key>NSAppleMusicUsageDescription</key>
<string>This workflow needs access to your music to run.</string>
<key>NSAppleScriptEnabled</key>
<string>YES</string>
<key>NSCalendarsUsageDescription</key>
<string>This workflow needs access to your calendars to run.</string>
<key>NSCameraUsageDescription</key>
<string>This workflow needs access to your camera to run.</string>
<key>NSContactsUsageDescription</key>
<string>This workflow needs access to your contacts to run.</string>
<key>NSHomeKitUsageDescription</key>
<string>This workflow needs access to your HomeKit Home to run.</string>
<key>NSMicrophoneUsageDescription</key>
<string>This workflow needs access to your microphone to run.</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>This workflow needs access to your photos to run.</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>NSRemindersUsageDescription</key>
<string>This workflow needs access to your reminders to run.</string>
<key>NSServices</key>
<array/>
<key>NSSiriUsageDescription</key>
<string>This workflow needs access to Siri to run.</string>
<key>NSSystemAdministrationUsageDescription</key>
<string>This workflow needs access to administer this system in order to run.</string>
<key>UTExportedTypeDeclarations</key>
<array/>
<key>UTImportedTypeDeclarations</key>
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
171 changes: 171 additions & 0 deletions bin/nzbget-file-opener_macOS.app/Contents/_CodeSignature/CodeResources
Original file line number Diff line number Diff line change
@@ -0,0 +1,171 @@
<?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>files</key>
<dict>
<key>Resources/ApplicationStub.icns</key>
<data>
RYTqh+7iocnEIV8iTs9EgJjEkO4=
</data>
<key>Resources/Assets.car</key>
<data>
+EyHXsSpe2QgUC474KHf/eJJOCo=
</data>
<key>Resources/InfoPlist.loctable</key>
<data>
GFHRfFTmEbAuZE1iyKibKmkU2+0=
</data>
</dict>
<key>files2</key>
<dict>
<key>Resources/ApplicationStub.icns</key>
<dict>
<key>hash</key>
<data>
RYTqh+7iocnEIV8iTs9EgJjEkO4=
</data>
<key>hash2</key>
<data>
odOqeBevxysHIbR5V5qgZz11qTuV9cL5jKaIcUw3R0I=
</data>
</dict>
<key>Resources/Assets.car</key>
<dict>
<key>hash</key>
<data>
+EyHXsSpe2QgUC474KHf/eJJOCo=
</data>
<key>hash2</key>
<data>
dsrJNb9XLiM6FpWXiJbLeUQWQeP3OK8zhQP9vrXz74c=
</data>
</dict>
<key>Resources/InfoPlist.loctable</key>
<dict>
<key>hash</key>
<data>
GFHRfFTmEbAuZE1iyKibKmkU2+0=
</data>
<key>hash2</key>
<data>
UOUbWh1OGuLBljFDZpqdwARDPWymLLRuoV5MvojegUE=
</data>
</dict>
<key>document.wflow</key>
<dict>
<key>cdhash</key>
<data>
uYlJ4u2VagNOQTolfBKYXX4VJnA=
</data>
<key>requirement</key>
<string>cdhash H"b8adb34b8e66af0a1b4129b229fd2ffab5006cb3" or cdhash H"b98949e2ed956a034e413a257c12985d7e152670"</string>
</dict>
</dict>
<key>rules</key>
<dict>
<key>^Resources/</key>
<true/>
<key>^Resources/.*\.lproj/</key>
<dict>
<key>optional</key>
<true/>
<key>weight</key>
<real>1000</real>
</dict>
<key>^Resources/.*\.lproj/locversion.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>1100</real>
</dict>
<key>^Resources/Base\.lproj/</key>
<dict>
<key>weight</key>
<real>1010</real>
</dict>
<key>^version.plist$</key>
<true/>
</dict>
<key>rules2</key>
<dict>
<key>.*\.dSYM($|/)</key>
<dict>
<key>weight</key>
<real>11</real>
</dict>
<key>^(.*/)?\.DS_Store$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>2000</real>
</dict>
<key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>
<dict>
<key>nested</key>
<true/>
<key>weight</key>
<real>10</real>
</dict>
<key>^.*</key>
<true/>
<key>^Info\.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>20</real>
</dict>
<key>^PkgInfo$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>20</real>
</dict>
<key>^Resources/</key>
<dict>
<key>weight</key>
<real>20</real>
</dict>
<key>^Resources/.*\.lproj/</key>
<dict>
<key>optional</key>
<true/>
<key>weight</key>
<real>1000</real>
</dict>
<key>^Resources/.*\.lproj/locversion.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>1100</real>
</dict>
<key>^Resources/Base\.lproj/</key>
<dict>
<key>weight</key>
<real>1010</real>
</dict>
<key>^[^/]+$</key>
<dict>
<key>nested</key>
<true/>
<key>weight</key>
<real>10</real>
</dict>
<key>^embedded\.provisionprofile$</key>
<dict>
<key>weight</key>
<real>20</real>
</dict>
<key>^version\.plist$</key>
<dict>
<key>weight</key>
<real>20</real>
</dict>
</dict>
</dict>
</plist>
21 changes: 10 additions & 11 deletions bin/nzbget-file-opener_macOS.app/Contents/document.wflow
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<plist version="1.0">
<dict>
<key>AMApplicationBuild</key>
<string>444.7</string>
<string>520</string>
<key>AMApplicationVersion</key>
<string>2.8</string>
<string>2.10</string>
<key>AMDocumentVersion</key>
<string>2</string>
<key>actions</key>
Expand Down Expand Up @@ -59,7 +59,8 @@
<key>ActionParameters</key>
<dict>
<key>COMMAND_STRING</key>
<string>/usr/local/bin/nzbget-file-opener -D $@</string>
<string>PATH=~/.asdf/shims:/opt/homebrew/opt/asdf/libexec/bin:/usr/local/bin:~/.bin:~/.local/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:~/.fig/bin:~/.local/bin
nzbget-file-opener -D $@</string>
<key>CheckedForUserDefaultShell</key>
<true/>
<key>inputMethod</key>
Expand Down Expand Up @@ -119,9 +120,9 @@
<key>1</key>
<dict>
<key>default value</key>
<string></string>
<false/>
<key>name</key>
<string>source</string>
<string>CheckedForUserDefaultShell</string>
<key>required</key>
<string>0</string>
<key>type</key>
Expand All @@ -132,9 +133,9 @@
<key>2</key>
<dict>
<key>default value</key>
<false/>
<string></string>
<key>name</key>
<string>CheckedForUserDefaultShell</string>
<string>source</string>
<key>required</key>
<string>0</string>
<key>type</key>
Expand Down Expand Up @@ -169,14 +170,12 @@
<string>4</string>
</dict>
</dict>
<key>conversionLabel</key>
<integer>0</integer>
<key>isViewVisible</key>
<true/>
<key>location</key>
<string>512.000000:253.000000</string>
<string>753.500000:252.000000</string>
<key>nibPath</key>
<string>/System/Library/Automator/Run Shell Script.action/Contents/Resources/French.lproj/main.nib</string>
<string>/System/Library/Automator/Run Shell Script.action/Contents/Resources/Base.lproj/main.nib</string>
</dict>
<key>isViewVisible</key>
<true/>
Expand Down

0 comments on commit 3a9df46

Please sign in to comment.