Set default programs before creating user

This commit is contained in:
Manuel Thalmann 2023-07-25 18:52:03 +02:00
parent e86657858a
commit f135727dc2
4 changed files with 5 additions and 20 deletions

View file

@ -90,6 +90,7 @@ function Restore-PersonalApps([Context] $context) {
gpu-z `
windirstat `
winmerge `
winscp `
xmedia-recode `
hwmonitor `
qbittorrent `
@ -97,10 +98,8 @@ function Restore-PersonalApps([Context] $context) {
inkscape `
krita `
obs-studio `
openvpn;
. "$PSScriptRoot/../Software/WinSCP/Install.ps1" $context;
. "$PSScriptRoot/../Software/Thunderbird/Install.ps1" $context;
openvpn `
thunderbird;
$context.RemoveDesktopIcon("GPU-Z*");
$context.RemoveDesktopIcon("WinDirStat*");

View file

@ -16,6 +16,8 @@ function Invoke-WindowsInstallation([Context] $context)
. "$configPath/Explorer/Install.ps1" $context;
. "$configPath/OpenSSH/Install.ps1" $context;
. "$configPath/chocolatey/Install.ps1";
. "$configPath/WinSCP/Install.ps1" $context;
. "$configPath/Thunderbird/Install.ps1" $context;
$context.RemoveDesktopIcon("*Microsoft Edge*");
$context.Set("InitialConfiguration", 1, "DWord");

View file

@ -1,8 +0,0 @@
#!/bin/pwsh
param($context)
. "$PSScriptRoot/../../Scripts/Context.ps1";
[Context] $context = $context;
choco install -y thunderbird;
. "$PSScriptRoot/../../Config/Thunderbird/Install.ps1" $context;

View file

@ -1,8 +0,0 @@
#!/bin/pwsh
param($context);
. "$PSScriptRoot/../../Scripts/Context.ps1";
[Context] $context = $context;
choco install -y winscp;
. "$PSScriptRoot/../../Config/WinSCP/Install.ps1" $context;