Skip installation of vscode insiders versions

This commit is contained in:
Manuel Thalmann 2024-04-06 16:30:11 +02:00
parent eacf8f9eb9
commit be8a01eeef
2 changed files with 2 additions and 4 deletions

View file

@ -211,9 +211,7 @@ yay --noconfirm -Syu \
`# Trash functionality for code` \
gvfs \
vscodium-bin \
vscodium-insiders-bin \
visual-studio-code-bin \
visual-studio-code-insiders-bin \
;
. "../../Common/Config/vscode/install.sh";

View file

@ -76,9 +76,9 @@ function Restore-GenericApps([Context] $context) {
$context.RemoveDesktopIcon("VLC*");
# Coding
choco install -y --params "/NoDesktopIcon" vscode vscode-insiders;
choco install -y --params "/NoDesktopIcon" vscode;
choco install -y --params "/NoDesktopIcon /AssociateWithFiles" vscodium;
winget install --scope machine --accept-source-agreements --accept-package-agreements -e --id VSCodium.VSCodium.Insiders --override '/VerySilent /MergeTasks="!runCode,quicklaunchicon,addcontextmenufiles,addcontextmenufolders,associatewithfiles,addtopath"';
# winget install --scope machine --accept-source-agreements --accept-package-agreements -e --id VSCodium.VSCodium.Insiders --override '/VerySilent /MergeTasks="!runCode,quicklaunchicon,addcontextmenufiles,addcontextmenufolders,associatewithfiles,addtopath"';
refreshenv;
. "$PSScriptRoot/../Config/vscode/Install.ps1";