Add scripts for installing and configuring MSEdgeRedirect

This commit is contained in:
Manuel Thalmann 2023-07-29 11:47:32 +02:00
parent 94f2453aeb
commit 76a8ab4d73
3 changed files with 16 additions and 1 deletions

View file

@ -68,7 +68,7 @@ function Restore-PersonalApps([Context] $context) {
# Browsing
Install-Firefox $context;
choco install -y MSEdgeRedirect;
. "$PSScriptRoot/../Software/MSEdgeRedirect/Install.ps1";
winget install --accept-source-agreements --accept-package-agreements -e --id Brave.Brave;
winget install --accept-source-agreements --accept-package-agreements -e --id Brave.Brave.Beta;
winget install --accept-source-agreements --accept-package-agreements -e --id Brave.Brave.Nightly;

View file

@ -0,0 +1,12 @@
#!/bin/pwsh
$configPath = "HKLM:\SOFTWARE\Robert Maehl Software\MSEdgeRedirect";
Set-ItemProperty $configPath -Name "NoBing" -Value 1;
Set-ItemProperty $configPath -Name "NoImgs" -Value 1;
Set-ItemProperty $configPath -Name "NoNews" -Value 1;
Set-ItemProperty $configPath -Name "NoPDFs" -Value 1;
Set-ItemProperty $configPath -Name "Search" -Value "StartPage";
Set-ItemProperty $configPath -Name "Images" -Value "Custom";
Set-ItemProperty $configPath -Name "ImagePath" "https://startpage.com/sp/search?cat=images&query=";
Set-ItemProperty $configPath -Name "News" -Value "Google";
Set-ItemProperty $configPath -Name "PDFApp" -Value "C:\Program Files\Mozilla Firefox\firefox.exe";

View file

@ -0,0 +1,3 @@
#!/bin/pwsh
choco install -y MSEdgeRedirect;
. "$PSScriptRoot/../../Config/MSEdgeRedirect/Install.ps1";