mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-16 14:25:02 -05:00
* use https URLs for all downloads
This commit is contained in:
parent
ae5d0e43e7
commit
dc38dc3516
@ -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'
|
@ -23,4 +23,4 @@ cd "$WORKING_DIR"
|
|||||||
|
|
||||||
JAR_FILE="$APP_ROOT/FileBot.jar"
|
JAR_FILE="$APP_ROOT/FileBot.jar"
|
||||||
echo "Update $JAR_FILE"
|
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"
|
@ -3,11 +3,11 @@ $version = isset($_GET['version']) ? $_GET['version'] : '@{version}'; // default
|
|||||||
$arch = $_GET['arch'];
|
$arch = $_GET['arch'];
|
||||||
$type = $_GET['type'];
|
$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';
|
$file = 'undefined';
|
||||||
|
|
||||||
if ($type == 'nsis') {
|
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';
|
$file = 'FileBot-setup.exe';
|
||||||
} 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