diff --git a/scripts/Windows/Config/Terminal-Icons/Install.ps1 b/scripts/Windows/Config/Terminal-Icons/Install.ps1 new file mode 100644 index 00000000..d6953fd9 --- /dev/null +++ b/scripts/Windows/Config/Terminal-Icons/Install.ps1 @@ -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";'); diff --git a/scripts/Windows/OS/Install.ps1 b/scripts/Windows/OS/Install.ps1 index 6dedf262..b26758ac 100644 --- a/scripts/Windows/OS/Install.ps1 +++ b/scripts/Windows/OS/Install.ps1 @@ -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"); } diff --git a/scripts/Windows/Software/Terminal-Icons/Install.ps1 b/scripts/Windows/Software/Terminal-Icons/Install.ps1 new file mode 100644 index 00000000..0304330d --- /dev/null +++ b/scripts/Windows/Software/Terminal-Icons/Install.ps1 @@ -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;