Install Discord for each user separately
This commit is contained in:
parent
60a157e4b7
commit
aaf5d40973
|
@ -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) {
|
||||
|
|
10
scripts/Windows/Software/discord/Main.ps1
Normal file
10
scripts/Windows/Software/discord/Main.ps1
Normal 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*";
|
||||
};
|
Loading…
Reference in a new issue