include workflows

This commit is contained in:
Reinhard Pointner 2019-02-20 22:57:57 +07:00
parent 01807285ed
commit 50120dbd86
7 changed files with 8548 additions and 5 deletions

View File

@ -237,13 +237,18 @@
<options />
</bundleapp>
<!-- include workflows -->
<copy todir="${dir.staging}/${application.name}.app/Contents/Resources/Workflows">
<fileset dir="${dir.installer}/workflows" />
</copy>
<!-- fix permissions -->
<chmod perm="+x" verbose="yes">
<fileset dir="${dir.staging}">
<include name="*.app/**/MacOS/filebot.*" />
<include name="*.app/**/MacOS/fpcalc" />
<include name="*.app/**/lib/jspawnhelper" />
<include name="*.app/**/bin/*" />
<fileset dir="${dir.staging}/${application.name}.app">
<include name="**/MacOS/filebot.*" />
<include name="**/MacOS/fpcalc" />
<include name="**/lib/jspawnhelper" />
<include name="**/bin/*" />
</fileset>
</chmod>
</sequential>

View File

@ -0,0 +1,28 @@
<?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>NSServices</key>
<array>
<dict>
<key>NSBackgroundColorName</key>
<string>background</string>
<key>NSBackgroundSystemColorName</key>
<string>blackColor</string>
<key>NSIconName</key>
<string>workflowCustomImage</string>
<key>NSMenuItem</key>
<dict>
<key>default</key>
<string>Import Media Files with FileBot</string>
</dict>
<key>NSMessage</key>
<string>runWorkflowAsService</string>
<key>NSSendFileTypes</key>
<array>
<string>public.item</string>
</array>
</dict>
</array>
</dict>
</plist>

View File

@ -0,0 +1,28 @@
<?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>NSServices</key>
<array>
<dict>
<key>NSBackgroundColorName</key>
<string>background</string>
<key>NSBackgroundSystemColorName</key>
<string>blackColor</string>
<key>NSIconName</key>
<string>workflowCustomImage</string>
<key>NSMenuItem</key>
<dict>
<key>default</key>
<string>Send to FileBot</string>
</dict>
<key>NSMessage</key>
<string>runWorkflowAsService</string>
<key>NSSendFileTypes</key>
<array>
<string>public.item</string>
</array>
</dict>
</array>
</dict>
</plist>

File diff suppressed because it is too large Load Diff