* make sure that any code is downloaded securely via https
This commit is contained in:
parent
5cfece44b5
commit
603c109ca6
|
@ -102,9 +102,9 @@ Section MAIN
|
||||||
|
|
||||||
DetailPrint "Downloading latest version..."
|
DetailPrint "Downloading latest version..."
|
||||||
${if} ${RunningX64}
|
${if} ${RunningX64}
|
||||||
inetc::get /USERAGENT "nsis" /caption "Downloading FileBot (64-bit)" "http://www.filebot.net/download.php?mode=nsis&type=msi&arch=x64" "$PLUGINSDIR\FileBot.msi" /end
|
inetc::get /USERAGENT "nsis" /caption "Downloading FileBot (64-bit)" "https://www.filebot.net/download.php?mode=nsis&type=msi&arch=x64" "$PLUGINSDIR\FileBot.msi" /end
|
||||||
${else}
|
${else}
|
||||||
inetc::get /USERAGENT "nsis" /caption "Downloading FileBot (32-bit)" "http://www.filebot.net/download.php?mode=nsis&type=msi&arch=x86" "$PLUGINSDIR\FileBot.msi" /end
|
inetc::get /USERAGENT "nsis" /caption "Downloading FileBot (32-bit)" "https://www.filebot.net/download.php?mode=nsis&type=msi&arch=x86" "$PLUGINSDIR\FileBot.msi" /end
|
||||||
${endif}
|
${endif}
|
||||||
|
|
||||||
DetailPrint "Installing latest version..."
|
DetailPrint "Installing latest version..."
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/**
|
/**
|
||||||
* Just add http://packages.filebot.net/syno/ in Package Sources ;)
|
* Just add https://packages.filebot.net/syno/ in Package Sources ;)
|
||||||
*
|
*
|
||||||
* Package Center -> Settings -> Package Sources -> Add -> Name: FileBot and Location: http://packages.filebot.net/syno/ -> OK
|
* Package Center -> Settings -> Package Sources -> Add -> Name: FileBot and Location: https://packages.filebot.net/syno/ -> OK
|
||||||
*/
|
*/
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
header('HTTP/1.1 302 Found');
|
header('HTTP/1.1 302 Found');
|
||||||
header('Location: http://packages.filebot.net/syno/index.json');
|
header('Location: https://packages.filebot.net/syno/index.json');
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue