PortValhalla/scripts/Windows/Software/vscode/Main.ps1

11 lines
504 B
PowerShell

. "$PSScriptRoot/../../Scripts/SoftwareManagement.ps1";
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
. "$PSScriptRoot/../../../Common/Types/InstallerAction.ps1";
Start-SoftwareInstaller @args `
-Inherit "$PSScriptRoot/../../../Common/Software/vscode/Main.ps1" `
-Installer {
Install-ChocoPackage vscode -ArgumentList "--params", "/NoDesktopIcon";
Install-ChocoPackage vscodium -ArgumentList "--params", "/NoDesktopIcon /AssociateWithFiles";
refreshenv;
};