1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-23 16:28:51 -05:00
filebot/installer/appbundle/MacOS/purchase.sh

21 lines
322 B
Bash
Raw Normal View History

#!/bin/sh
2016-09-17 00:14:54 -04:00
function validate {
/usr/bin/codesign -v /Applications/FileBot.app
}
function purchase {
/usr/bin/open https://app.filebot.net/purchase/FileBot.app
}
function help {
/usr/bin/open https://app.filebot.net/mac/brew.html
2016-09-17 00:14:54 -04:00
}
function start {
/usr/local/bin/filebot
}
validate && (start || help) || purchase