Last active
November 27, 2018 01:55
-
-
Save XMB5/05c82b70760e26bc5256bdcae9550476 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#iex ((New-Object System.Net.WebClient).DownloadString('https://git.io/fpzIR')) | |
cd ~\Desktop | |
Import-Module BitsTransfer | |
Add-Type -AssemblyName System.IO.Compression.FileSystem | |
function Unzip | |
{ | |
param([string]$zipfile, [string]$outpath) | |
[System.IO.Compression.ZipFile]::ExtractToDirectory( | |
$ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($zipfile), | |
$ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($outpath)) | |
} | |
Write-Output 'downloading webstorm...' | |
Start-BitsTransfer -Source 'https://dl.dropboxusercontent.com/s/uf8mg80wjuiifzf/WebStorm%202018.3.zip' -Destination webstorm.zip | |
Write-Output 'downloading explorer++...' | |
Start-BitsTransfer -Source 'https://dl.dropboxusercontent.com/s/2tyq4r9c44g44wd/explorer%2B%2B_x64.zip' -Destination exp.zip | |
Write-Output 'unzipping webstorm...' | |
Unzip .\webstorm.zip .\webstorm | |
Write-Output 'unzipping explorer++...' | |
Unzip .\exp.zip .\exp | |
Write-Output 'finishing...' | |
Move-Item -Path .\exp\Explorer++.exe -Destination .\ | |
Move-Item -Path '.\webstorm\WebStorm 2018.3' -Destination .\ | |
Remove-Item -Path .\exp.zip | |
Remove-Item -Path .\exp -Recurse | |
Remove-Item -Path .\webstorm.zip | |
Remove-Item -Path .\webstorm -Recurse |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment