Install Discord for each user separately

This commit is contained in:
Manuel Thalmann 2024-09-30 19:47:22 +02:00
parent 60a157e4b7
commit aaf5d40973
2 changed files with 12 additions and 3 deletions

View file

@ -219,10 +219,9 @@ function Deploy-SoftwareAction {
Remove-DesktopIcon "*Element*";
Remove-DesktopIcon "*TeamSpeak*";
Install-WingetPackage Discord.Discord;
Remove-DesktopIcon "*Discord*";
}
. "$softwarePath/discord/Main.ps1" @arguments;
}
if ($collections.media) {

View file

@ -0,0 +1,10 @@
. "$PSScriptRoot/../../Scripts/SoftwareManagement.ps1";
. "$PSScriptRoot/../../Scripts/System.ps1";
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
. "$PSScriptRoot/../../../Common/Types/InstallerAction.ps1";
Start-SoftwareInstaller @args `
-UserConfigurator {
Install-WingetPackage Vencord.Vesktop;
Remove-DesktopIcon "Vesktop*";
};