rename powershell file

This commit is contained in:
2025-01-16 10:01:02 -05:00
parent 817ce4771e
commit 41a4932baf
2 changed files with 3 additions and 2 deletions

14
oem/powershell-stuff.ps1 Normal file
View File

@@ -0,0 +1,14 @@
cd C:\OEM
$VSInstallDir = "C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service"
if (-Not $VSInstallDir) {
Write-Error "Visual Studio InstallDir registry key missing"
Exit 1
}
$asmdude_vsix = "$($env:TEMP)\AsmDude.vsix"
wget "https://github.com/HJLebbink/asm-dude/releases/download/v2.0.1.0/AsmDude2-vsix-2.0.1.0.vsix" -OutFile "$($asmdude_vsix)"
Start-Process -Filepath "$($VSInstallDir)\VSIXInstaller" -ArgumentList "/q /a $($asmdude_vsix)" -Wait