Set default donate amount to MAS price
This commit is contained in:
parent
cc27f85d76
commit
2036e2c4a0
|
@ -1,2 +1,20 @@
|
|||
#!/bin/sh
|
||||
/usr/bin/codesign -v /Applications/FileBot.app && /usr/local/bin/filebot || /usr/bin/open https://app.filebot.net/purchase/FileBot.app
|
||||
|
||||
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
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
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 /purchase/FileBot.app https://itunes.apple.com/us/app/filebot/id905384638?mt=12&uo=6&at=1l3vupy&ct=darwin
|
||||
redirect 302 /brew.html https://www.filebot.net/forums/viewtopic.php?f=4&t=2049#p11797
|
||||
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/
|
||||
|
|
Loading…
Reference in New Issue