From ce22dd1c45646d9ee66557d591ee84d8fd414a10 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Fri, 16 Sep 2016 23:38:56 +0800 Subject: [PATCH] Redirect to Mac App Store if brew command-line bundle is started via Finder --- build.xml | 4 +--- installer/appbundle/filebot.sh | 0 installer/appbundle/purchase.sh | 2 ++ 3 files changed, 3 insertions(+), 3 deletions(-) mode change 100644 => 100755 installer/appbundle/filebot.sh create mode 100755 installer/appbundle/purchase.sh diff --git a/build.xml b/build.xml index 4e8042a8..2dd11cd6 100644 --- a/build.xml +++ b/build.xml @@ -304,7 +304,7 @@ - + @@ -340,8 +340,6 @@ - - diff --git a/installer/appbundle/filebot.sh b/installer/appbundle/filebot.sh old mode 100644 new mode 100755 diff --git a/installer/appbundle/purchase.sh b/installer/appbundle/purchase.sh new file mode 100755 index 00000000..e4aca161 --- /dev/null +++ b/installer/appbundle/purchase.sh @@ -0,0 +1,2 @@ +#!/bin/sh +/usr/bin/codesign -v /Applications/FileBot.app && /usr/local/bin/filebot || /usr/bin/open macappstore://itunes.apple.com/app/id905384638