1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-08-13 17:03:45 -04:00

* revert normal download links

This commit is contained in:
Reinhard Pointner 2014-07-13 15:12:48 +00:00
parent dc38dc3516
commit d409b35895

View File

@ -3,11 +3,11 @@ $version = isset($_GET['version']) ? $_GET['version'] : '@{version}'; // default
$arch = $_GET['arch'];
$type = $_GET['type'];
$folder = 'https://downloads.sourceforge.net/project/filebot/filebot/FileBot_'.$version;
$folder = 'http://sourceforge.net/projects/filebot/files/filebot/FileBot_'.$version;
$file = 'undefined';
if ($type == 'nsis') {
$folder = 'https://downloads.sourceforge.net/project/filebot/filebot/HEAD';
$folder = 'http://sourceforge.net/projects/filebot/files/filebot/HEAD';
$file = 'FileBot-setup.exe';
} else if ($type == 'msi')
$file = 'FileBot_'.$version.'_'.$arch.'.msi';