install always the latest version
This commit is contained in:
parent
c5a18436b8
commit
c9eb8bb2fd
1 changed files with 4 additions and 1 deletions
|
@ -2,7 +2,10 @@
|
|||
|
||||
ECHO Captvty...
|
||||
PowerShell -Command "" ^
|
||||
"$link = 'https://releases.captvty.fr/e8b155a18563a5537711da7a4bd5559ba4898f9e/captvty-3.0.1.10.zip';" ^
|
||||
"$ie = New-Object -com internetexplorer.application;" ^
|
||||
"$ie.navigate('https://v3.captvty.fr/');" ^
|
||||
"while ($ie.Busy -eq $true) { Start-Sleep -Milliseconds 1000 };" ^
|
||||
"$link = $ie.Document.getElementsByClassName('zip')[0].getAttribute('href');" ^
|
||||
"$archive = '%TEMP%\captvty.zip';" ^
|
||||
"Invoke-WebRequest -UserAgent 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0' -Uri $link -OutFile $archive;" ^
|
||||
"Remove-Item '%LOCALAPPDATA%\Captvty' -Recurse -ErrorAction SilentlyContinue;" ^
|
||||
|
|
Loading…
Reference in a new issue