Redirect to Mac App Store if brew command-line bundle is started via Finder

This commit is contained in:
Reinhard Pointner 2016-09-17 00:21:33 +08:00
parent 88ae6f45f0
commit c4d5bf4123
2 changed files with 3 additions and 2 deletions

View File

@ -1,2 +1,2 @@
#!/bin/sh
/usr/bin/codesign -v /Applications/FileBot.app && /usr/local/bin/filebot || /usr/bin/open "https://itunes.apple.com/us/app/filebot/id905384638?mt=12&uo=6&at=1l3vupy&ct=darwin"
/usr/bin/codesign -v /Applications/FileBot.app && /usr/local/bin/filebot || /usr/bin/open https://app.filebot.net/purchase/FileBot.app

View File

@ -1,9 +1,10 @@
# redirect donate.html
redirect 302 /files/FileBot-setup.exe https://github.com/filebot/filebot-installer/releases/download/v1.0/FileBot-setup.exe
redirect 302 /files/FileBot.app https://itunes.apple.com/us/app/filebot/id905384638?mt=12&uo=6&at=1l3vupy&ct=app
redirect 302 /files/ https://sourceforge.net/projects/filebot/files/
redirect 302 /purchase/FileBot.app https://itunes.apple.com/us/app/filebot/id905384638?mt=12&uo=6&at=1l3vupy&ct=darwin
redirect 302 /donate.html https://app.filebot.net/donate.php
redirect 302 /manual.html https://www.filebot.net/forums/viewtopic.php?f=3&t=7#p7
redirect 302 /files/ https://sourceforge.net/projects/filebot/files/
# redirect filebot.sourceforge.net to www.filebot.net
RewriteEngine on