Added windows terminal
added config for windows terminal
This commit is contained in:
Kurtis
2025-10-29 20:59:07 +10:00
parent 3323145812
commit f64b8e3aab
2 changed files with 140 additions and 0 deletions

View File

@@ -123,6 +123,24 @@ function Install-PlexAmp {
winget install Plex.Plexamp
}
function Install-WindowsTerminal {
Write-Host "Installing Windows Terminal"
winget install Microsoft.WindowsTerminal
}
function Config-WindowsTerminal {
Write-Host "Configuring Windows Terminal"
$folderPath = "$ENV:LOCALAPPDATA\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState"
if (-not (Test-Path $folderPath -PathType Container)) {
New-Item -Path $folderPath -ItemType Directory -Force
Write-Host "Folder '$folderPath' created successfully."
} else {
Write-Host "Folder '$folderPath' already exists."
}
$download = "https://git.tcmeta.net/kurtis/win11-scripts/raw/branch/main/vargscript/termsettings.json"
Invoke-WebRequest $download -Out "$folderPath\settings.json"
}
function Show-InteractiveMenu {
param (
[string]$Title = "Main Menu",
@@ -167,6 +185,8 @@ do {
Install-Gimp
Install-Joplin
Install-PlexAmp
Install-Terminal
Config-WindowsTerminal
Pause
}
"2" {