Skip to content

Commit a130509

Browse files
Update setup.ps1
change BITS to iwr for cygwin64
1 parent e4a4e0d commit a130509

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

current/setup.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -997,7 +997,8 @@ public class Wallpaper
997997
$InstallCygwin64 = $Host.UI.PromptForChoice("Install Cygwin64?", "", @("&Cancel", "&Install"), 0)
998998
if ($InstallCygwin64) {
999999
$remoteFile = "https://www.dropbox.com/scl/fi/6x3exiucwd1rzkrzv5dts/cygwin64.zip?rlkey=5l2p9f48ukez8zdr5gf0jfmxf&dl=1"
1000-
Start-BitsTransfer -source "$remoteFile" -destination "~\Cygwin64.zip"
1000+
Invoke-WebRequest "$remoteFile" -OutFile "~\Cygwin64.zip"
1001+
# Start-BitsTransfer -source "$remoteFile" -destination "~\Cygwin64.zip" # BITS does not like dropbox
10011002
Expand-Archive ~\Cygwin64.zip | Out-Null
10021003
rm ~\Cygwin64.zip
10031004
$WshShell = New-Object -ComObject WScript.Shell

0 commit comments

Comments
 (0)