update devkit link to a git permalink

Fix #529

The CDN previously used has shutdown.  Pull the devkit from metasploit build cache repo.
This commit is contained in:
Jeffrey Martin 2021-05-10 09:18:04 -05:00
parent 0d9c4a0d0e
commit 0cbceb95ce
No known key found for this signature in database
GPG Key ID: 0CD9BBC2AF15F171
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
mkdir "C:\RubyDevKit"
powershell -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://dl.bintray.com/oneclick/rubyinstaller/DevKit-mingw64-64-4.7.2-20130224-1432-sfx.exe', 'C:\RubyDevKit\devkit.exe')" <NUL
powershell -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile('https://github.com/rapid7/metasploit-omnibus-cache/raw/7cad45e5886d0a9b3d587c86a65d66234986223a/DevKit-mingw64-64-4.7.2-20130224-1432-sfx.exe', 'C:\RubyDevKit\devkit.exe')" <NUL
cmd /c ""C:\Program Files\7-Zip\7z.exe" x "C:\RubyDevKit\devkit.exe" -o"C:\RubyDevKit\""
copy /Y C:\Vagrant\resources\Rails_Server\devkit\dk.rb "C:\RubyDevKit"
C:\tools\ruby23\bin\ruby.exe "C:\RubyDevKit\dk.rb" init