Update
changed policy filename to correct one for browser. moved scipts called within this script to seperate process to prevent breaking main script.
This commit is contained in:
@@ -21,7 +21,7 @@ function Config-Zen {
|
||||
}
|
||||
Write-Host "Downloading Policy"
|
||||
$download = "https://git.tcmeta.net/kurtis/win11-scripts/raw/branch/main/vargscript/zen-policy.json"
|
||||
Invoke-WebRequest $download -Out "$folderPath\policy.json"
|
||||
Invoke-WebRequest $download -Out "$folderPath\policies.json"
|
||||
}
|
||||
|
||||
function Install-FlowLauncher {
|
||||
@@ -59,10 +59,11 @@ function Install-Clink {
|
||||
|
||||
function Install-Starship {
|
||||
Write-Host "running Nerdfont installer"
|
||||
& ([scriptblock]::Create((iwr 'https://to.loredo.me/Install-NerdFont.ps1')))
|
||||
$process = Start-Process powershell.exe -ArgumentList "& ([scriptblock]::Create((iwr 'https://to.loredo.me/Install-NerdFont.ps1')))" -PassThru
|
||||
$process.WaitForExit()
|
||||
winget install Starship.Starship
|
||||
Write-Host "Configuring CMD"
|
||||
$folderPath = "$ENV:APPDATALOCAL\clink"
|
||||
$folderPath = "$ENV:LOCALAPPDATA\clink"
|
||||
if (-not (Test-Path $folderPath -PathType Container)) {
|
||||
New-Item -Path $folderPath -ItemType Directory -Force
|
||||
Write-Host "Folder '$folderPath' created successfully."
|
||||
@@ -83,7 +84,43 @@ function Install-Starship {
|
||||
|
||||
function Install-JaxCore {
|
||||
Write-Host "Installing Jaxcore"
|
||||
iwr -useb "https://raw.githubusercontent.com/Jax-Core/JaxCore/master/CoreInstaller.ps1" | iex
|
||||
$process = Start-Process powershell.exe -ArgumentList "iwr -useb `"https://raw.githubusercontent.com/Jax-Core/JaxCore/master/CoreInstaller.ps1`" | iex" -PassThru
|
||||
$process.WaitForExit()
|
||||
}
|
||||
|
||||
function Install-Cyberduck {
|
||||
Write-Host "Installing Cyberduck"
|
||||
winget install Iterate.Cyberduck
|
||||
}
|
||||
|
||||
function Install-Bitwarden {
|
||||
Write-Host "Installing Bitwarden"
|
||||
winget install Bitwarden.Bitwarden
|
||||
}
|
||||
|
||||
function Install-Discord {
|
||||
Write-Host "Installing Discord"
|
||||
winget install Discord.Discord
|
||||
}
|
||||
|
||||
function Install-LibreOffice {
|
||||
Write-Host "Installing LibreOffice"
|
||||
TheDocumentFoundation.LibreOffice
|
||||
}
|
||||
|
||||
function Install-Gimp {
|
||||
Write-Host "Installing Gimp"
|
||||
winget install GIMP.GIMP.3
|
||||
}
|
||||
|
||||
function Install-Joplin {
|
||||
Write-Host "Installing Joplin"
|
||||
winget install Joplin.Joplin
|
||||
}
|
||||
|
||||
function Install-PlexAmp {
|
||||
Write-Host "Installing Plexamp"
|
||||
winget install Plex.Plexamp
|
||||
}
|
||||
|
||||
function Show-InteractiveMenu {
|
||||
@@ -124,6 +161,12 @@ do {
|
||||
Install-Clink
|
||||
Install-Starship
|
||||
Install-JaxCore
|
||||
Install-Cyberduck
|
||||
Install-Discord
|
||||
Install-LibreOffice
|
||||
Install-Gimp
|
||||
Install-Joplin
|
||||
Install-PlexAmp
|
||||
Pause
|
||||
}
|
||||
"2" {
|
||||
|
||||
Reference in New Issue
Block a user