Browse Source

Fixed curl not working with new sendfile system at mx2.com

Mark Sibly 8 năm trước cách đây
mục cha
commit
a0a43cd10c
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      src/ted2/modulemanager.monkey2

+ 3 - 3
src/ted2/modulemanager.monkey2

@@ -202,10 +202,10 @@ Class ModuleManager Extends Dialog
 			Local dst:=downloadDir+zip
 
 #if __HOSTOS__="macos"
-			Local cmd:="curl -o ~q"+dst+"~q ~q"+src+"~q"
-#else
+			Local cmd:="curl -o ~q"+dst+"~q -data-binary ~q"+src+"~q"
+#Else
 			Local cmd:="wget -O ~q"+dst+"~q ~q"+src+"~q"
-#endif
+#Endif
 			_progress.Text="Downloading "+zip+"..."
 			
 			If Not _console.Run( cmd ) Return False