1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-11 20:05:04 -05:00
filebot/installer/appbundle/MacOS/purchase.sh
2016-09-19 14:17:09 +08:00

21 lines
318 B
Bash
Executable File

#!/bin/sh
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/brew.html
}
function start {
/usr/local/bin/filebot
}
validate && (start || help) || purchase