Refactor browser automation scripts
This commit is contained in:
parent
6f93edea54
commit
bed24acbe3
4 changed files with 123 additions and 81 deletions
scripts/Windows/Software/reWASD
|
@ -16,7 +16,7 @@ $null = New-Module {
|
|||
$tempDir = $context.GetTempDirectory();
|
||||
|
||||
Write-Information "Downloading reWASD";
|
||||
$file = Start-AutomatedDownload $context "https://rewasd.com/" 'a.btn-default[href="#"]' $tempDir;
|
||||
$file = Start-BrowserDownload $context "https://rewasd.com/" 'a.btn-default[href="#"]' $tempDir;
|
||||
|
||||
Write-Information "Installing reWASD";
|
||||
Start-Process -Wait -FilePath $file.FullName -ArgumentList "/S";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue