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

* use https URLs for all downloads

This commit is contained in:
Reinhard Pointner 2014-07-13 15:03:28 +00:00
parent ae5d0e43e7
commit dc38dc3516
3 changed files with 4 additions and 4 deletions

View File

@ -1 +1 @@
Install-ChocolateyPackage 'filebot' 'msi' '/quiet' 'http://sourceforge.net/projects/filebot/files/filebot/FileBot_@{version}/FileBot_@{version}_x86.msi' 'http://sourceforge.net/projects/filebot/files/filebot/FileBot_@{version}/FileBot_@{version}_x64.msi'
Install-ChocolateyPackage 'filebot' 'msi' '/quiet' 'https://downloads.sourceforge.net/project/filebot/filebot/FileBot_@{version}/FileBot_@{version}_x86.msi' 'https://downloads.sourceforge.net/project/filebot/filebot/FileBot_@{version}/FileBot_@{version}_x64.msi'

View File

@ -23,4 +23,4 @@ cd "$WORKING_DIR"
JAR_FILE="$APP_ROOT/FileBot.jar"
echo "Update $JAR_FILE"
curl -L -o "$JAR_FILE" -z "$JAR_FILE" "http://sourceforge.net/projects/filebot/files/filebot/HEAD/FileBot.jar"
curl -L -o "$JAR_FILE" -z "$JAR_FILE" "https://downloads.sourceforge.net/project/filebot/filebot/HEAD/FileBot.jar"

View File

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