Redirect to MAS

This commit is contained in:
Reinhard Pointner 2016-05-11 21:56:45 +08:00
parent 4d18963f1f
commit 52746dab70
2 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,5 @@
# redirect donate.html # 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 /files/ https://app.filebot.net/download.php
redirect 302 /donate.html https://app.filebot.net/donate.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 redirect 302 /manual.html https://www.filebot.net/forums/viewtopic.php?f=3&t=7#p7

View File

@ -10,6 +10,9 @@ $file = '';
if ($type == 'nsis') { if ($type == 'nsis') {
$folder = 'https://github.com/filebot/filebot-installer/releases/download/v1.0'; $folder = 'https://github.com/filebot/filebot-installer/releases/download/v1.0';
$file = 'FileBot-setup.exe'; $file = 'FileBot-setup.exe';
} else if ($type == 'app') {
$folder = 'https://app.filebot.net/files/';
$file = 'FileBot.app';
} else if ($type == 'jar') { } else if ($type == 'jar') {
$folder = $root.'HEAD'; $folder = $root.'HEAD';
$file = 'FileBot.jar'; $file = 'FileBot.jar';
@ -17,8 +20,6 @@ if ($type == 'nsis') {
$file = 'FileBot_'.$version.'_'.$arch.'.msi'; $file = 'FileBot_'.$version.'_'.$arch.'.msi';
} else if ($type == 'deb') { } else if ($type == 'deb') {
$file = 'filebot_'.$version.'_'.$arch.'.deb'; $file = 'filebot_'.$version.'_'.$arch.'.deb';
} else if ($type == 'app') {
$file = 'FileBot_'.$version.'-brew.tar.bz2';
} else if ($type == 'portable') { } else if ($type == 'portable') {
$file = 'FileBot_'.$version.'-portable.zip'; $file = 'FileBot_'.$version.'-portable.zip';
} else if ($type == 'ipkg') { } else if ($type == 'ipkg') {