mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-23 08:18:52 -05:00
* update download.php redirector
This commit is contained in:
parent
3032a47d95
commit
7d8b8129a8
@ -3,14 +3,15 @@ $version = isset($_GET['version']) ? $_GET['version'] : '@{version}'; // default
|
||||
$arch = $_GET['arch'];
|
||||
$type = $_GET['type'];
|
||||
|
||||
$folder = 'https://sourceforge.net/projects/filebot/files/filebot/FileBot_'.$version;
|
||||
$root = 'https://downloads.sourceforge.net/project/filebot/filebot/';
|
||||
$folder = $root.'FileBot_'.$version;
|
||||
$file = 'undefined';
|
||||
|
||||
if ($type == 'nsis') {
|
||||
$folder = 'https://sourceforge.net/projects/filebot/files/filebot/HEAD';
|
||||
$folder = $root.'HEAD';
|
||||
$file = 'FileBot-setup.exe';
|
||||
} else if ($type == 'jar') {
|
||||
$folder = 'https://sourceforge.net/projects/filebot/files/filebot/HEAD';
|
||||
$folder = $root.'HEAD';
|
||||
$file = 'FileBot.jar';
|
||||
} else if ($type == 'msi')
|
||||
$file = 'FileBot_'.$version.'_'.$arch.'.msi';
|
||||
|
Loading…
Reference in New Issue
Block a user