Add Terminal-Icons
This commit is contained in:
parent
c71a8edcaf
commit
c522ed9350
3 changed files with 16 additions and 0 deletions
7
scripts/Windows/Config/Terminal-Icons/Install.ps1
Normal file
7
scripts/Windows/Config/Terminal-Icons/Install.ps1
Normal 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";');
|
|
@ -62,6 +62,7 @@ function Invoke-WindowsInstallation([Context] $context)
|
||||||
. "$softwarePath/WinSCP/Install.ps1" $context;
|
. "$softwarePath/WinSCP/Install.ps1" $context;
|
||||||
. "$softwarePath/Thunderbird/Install.ps1" $context;
|
. "$softwarePath/Thunderbird/Install.ps1" $context;
|
||||||
. "$softwarePath/posh-git/Install.ps1" $context;
|
. "$softwarePath/posh-git/Install.ps1" $context;
|
||||||
|
. "$softwarePath/Terminal-Icons/Install.ps1" $context;
|
||||||
$context.Set("MachineWideSoftware", 1, "DWord");
|
$context.Set("MachineWideSoftware", 1, "DWord");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
8
scripts/Windows/Software/Terminal-Icons/Install.ps1
Normal file
8
scripts/Windows/Software/Terminal-Icons/Install.ps1
Normal 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;
|
Loading…
Reference in a new issue