Update
Added windows terminal added config for windows terminal
This commit is contained in:
@@ -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" {
|
||||
|
||||
Reference in New Issue
Block a user