mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-23 16:28:51 -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'];
|
$arch = $_GET['arch'];
|
||||||
$type = $_GET['type'];
|
$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';
|
$file = 'undefined';
|
||||||
|
|
||||||
if ($type == 'nsis') {
|
if ($type == 'nsis') {
|
||||||
$folder = 'https://sourceforge.net/projects/filebot/files/filebot/HEAD';
|
$folder = $root.'HEAD';
|
||||||
$file = 'FileBot-setup.exe';
|
$file = 'FileBot-setup.exe';
|
||||||
} else if ($type == 'jar') {
|
} else if ($type == 'jar') {
|
||||||
$folder = 'https://sourceforge.net/projects/filebot/files/filebot/HEAD';
|
$folder = $root.'HEAD';
|
||||||
$file = 'FileBot.jar';
|
$file = 'FileBot.jar';
|
||||||
} else if ($type == 'msi')
|
} else if ($type == 'msi')
|
||||||
$file = 'FileBot_'.$version.'_'.$arch.'.msi';
|
$file = 'FileBot_'.$version.'_'.$arch.'.msi';
|
||||||
|
Loading…
Reference in New Issue
Block a user