File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -16,16 +16,16 @@ jobs:
1616
1717 - name : Download MetaTrader5 Installer
1818 run : |
19- Invoke-WebRequest `
20- -Uri "https://download.mql5.com/cdn/web/metaquotes.software.corp/mt5/mt5setup.exe" `
19+ Invoke-WebRequest
20+ -Uri "https://download.mql5.com/cdn/web/metaquotes.software.corp/mt5/mt5setup.exe"
2121 -OutFile "mt5setup.exe"
2222 shell : pwsh
2323
2424 - name : Install MetaTrader5
2525 run : |
2626 # Start installer with /auto and /portable, with timeout protection
2727 $process = Start-Process -FilePath ".\mt5setup.exe" -ArgumentList "/auto", "/portable" -PassThru
28- $process.WaitForExit(30000 ) # 300 seconds = 5 minutes
28+ $process.WaitForExit(300 ) # 300 seconds = 5 minutes
2929 if (-not $process.HasExited) {
3030 Write-Host "MT5 installer stuck, killing..."
3131 Stop-Process -Id $process.Id -Force
You can’t perform that action at this time.
0 commit comments