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

View file

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