Redirect to MAS
This commit is contained in:
parent
4d18963f1f
commit
52746dab70
|
@ -1,4 +1,5 @@
|
|||
# redirect donate.html
|
||||
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://app.filebot.net/download.php
|
||||
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
|
||||
|
|
|
@ -10,6 +10,9 @@ $file = '';
|
|||
if ($type == 'nsis') {
|
||||
$folder = 'https://github.com/filebot/filebot-installer/releases/download/v1.0';
|
||||
$file = 'FileBot-setup.exe';
|
||||
} else if ($type == 'app') {
|
||||
$folder = 'https://app.filebot.net/files/';
|
||||
$file = 'FileBot.app';
|
||||
} else if ($type == 'jar') {
|
||||
$folder = $root.'HEAD';
|
||||
$file = 'FileBot.jar';
|
||||
|
@ -17,8 +20,6 @@ if ($type == 'nsis') {
|
|||
$file = 'FileBot_'.$version.'_'.$arch.'.msi';
|
||||
} else if ($type == 'deb') {
|
||||
$file = 'filebot_'.$version.'_'.$arch.'.deb';
|
||||
} else if ($type == 'app') {
|
||||
$file = 'FileBot_'.$version.'-brew.tar.bz2';
|
||||
} else if ($type == 'portable') {
|
||||
$file = 'FileBot_'.$version.'-portable.zip';
|
||||
} else if ($type == 'ipkg') {
|
||||
|
|
Loading…
Reference in New Issue