From 6464f32396c3fe710e1657c2732b0eef695d8ed1 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Tue, 25 Jul 2023 18:55:35 +0200 Subject: [PATCH] Prevent creation of shortcuts for thunderbird --- scripts/Windows/Collections/Personal.ps1 | 5 +++-- scripts/Windows/Software/Thunderbird/Install.ps1 | 7 +++++++ 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 scripts/Windows/Software/Thunderbird/Install.ps1 diff --git a/scripts/Windows/Collections/Personal.ps1 b/scripts/Windows/Collections/Personal.ps1 index 866b0a14..9c3f9648 100644 --- a/scripts/Windows/Collections/Personal.ps1 +++ b/scripts/Windows/Collections/Personal.ps1 @@ -98,8 +98,9 @@ function Restore-PersonalApps([Context] $context) { inkscape ` krita ` obs-studio ` - openvpn ` - thunderbird; + openvpn; + + . "$PSScriptRoot/../Software/Thunderbird/Install.ps1" $context; $context.RemoveDesktopIcon("GPU-Z*"); $context.RemoveDesktopIcon("WinDirStat*"); diff --git a/scripts/Windows/Software/Thunderbird/Install.ps1 b/scripts/Windows/Software/Thunderbird/Install.ps1 new file mode 100644 index 00000000..a66fdc76 --- /dev/null +++ b/scripts/Windows/Software/Thunderbird/Install.ps1 @@ -0,0 +1,7 @@ +#!/bin/pwsh +param($context) + +. "$PSScriptRoot/../../Scripts/Context.ps1"; +[Context] $context = $context; + +choco install -y thunderbird --params "/NoTaskbarShortcut /NoDesktopShortcut";