Add a separate script for installing WinSCP

This commit is contained in:
Manuel Thalmann 2023-07-24 23:10:49 +02:00
parent 07422a3ab3
commit 58d99272ac
2 changed files with 9 additions and 1 deletions

View file

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

View file

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