-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
Hi,
i've had some problems getting this to work behind a corporate proxy. Maybe you could switch to cURL (instead of wget) in the Updater-Script to fix these issues for others in the future?
- First i had to set an EnvVar for wget to use the proxy: set http_proxy=http://#host#:#port#
- Then i ran into a problem, because github sends a 302 Redirect, which isn't followed by wget
- Other Versions of wget seems to have a parameter for this (--max-redirect=20), but your version (thru busybox) doenst support this parameter
- The solution in the end was to use curl instead of wget for the download.
Here are my changes to the Updater.bat - Script:
set http_proxy=http://localhost:3128
set CURL="%HERE%App\Utils\curl.exe"
%CURL% --insecure --location --proxy %http_proxy% %OBSIDIAN% -o TMP\Obsidian-%LATEST%.exe
Metadata
Metadata
Assignees
Labels
No labels