Skip to content

Commit 7239c39

Browse files
committed
Hotfix https to http for windows for now
1 parent c67f2d1 commit 7239c39

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

main.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
import config
3131

3232
import utils
33-
from utils import log, open_folder_in_explorer
33+
from utils import log, open_folder_in_explorer, is_windows
3434

3535
from config import get_file
3636
from config import __version__ as __gui_version__
@@ -726,6 +726,9 @@ def download_file(self, path, setting):
726726
path (string): the URL path of the file
727727
setting (Setting): The file setting to download
728728
"""
729+
if is_windows():
730+
path = path.replace('https', 'http')
731+
729732
version_file = self.settings['base_url'].format(self.selected_version())
730733

731734
sdk_build_setting = self.get_setting('sdk_build')

0 commit comments

Comments
 (0)