Add Terminal-Icons

This commit is contained in:
Manuel Thalmann 2023-07-27 02:36:31 +02:00
parent c71a8edcaf
commit c522ed9350
3 changed files with 16 additions and 0 deletions

View file

@ -0,0 +1,7 @@
#!/bin/pwsh
param($context)
. "$PSScriptRoot/../../Scripts/Context.ps1";
[Context] $context = $context;
Write-Host "Configuring Terminal-Icons";
$context.AddPowerShellProfileStatement("Terminal-Icons", 'Import-Module "Terminal-Icons";');

View file

@ -62,6 +62,7 @@ function Invoke-WindowsInstallation([Context] $context)
. "$softwarePath/WinSCP/Install.ps1" $context;
. "$softwarePath/Thunderbird/Install.ps1" $context;
. "$softwarePath/posh-git/Install.ps1" $context;
. "$softwarePath/Terminal-Icons/Install.ps1" $context;
$context.Set("MachineWideSoftware", 1, "DWord");
}

View file

@ -0,0 +1,8 @@
#!/bin/pwsh
param($context);
. "$PSScriptRoot/../../Scripts/Context.ps1";
[Context] $context = $context;
Install-Module -AcceptLicense -Scope AllUsers -Force Terminal-Icons;
powershell -c "Install-Module -Scope AllUsers -Force Terminal-Icons;";
. "$PSScriptRoot/../../Config/Terminal-Icons/Install.ps1" $context;