Add scripts for installing and configuring MSEdgeRedirect
This commit is contained in:
parent
8edd0ca479
commit
aea3edfef7
3 changed files with 16 additions and 1 deletions
|
@ -68,7 +68,7 @@ function Restore-PersonalApps([Context] $context) {
|
||||||
|
|
||||||
# Browsing
|
# Browsing
|
||||||
Install-Firefox $context;
|
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;
|
||||||
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.Beta;
|
||||||
winget install --accept-source-agreements --accept-package-agreements -e --id Brave.Brave.Nightly;
|
winget install --accept-source-agreements --accept-package-agreements -e --id Brave.Brave.Nightly;
|
||||||
|
|
12
scripts/Windows/Config/MSEdgeRedirect/Install.ps1
Normal file
12
scripts/Windows/Config/MSEdgeRedirect/Install.ps1
Normal 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";
|
3
scripts/Windows/Software/MSEdgeRedirect/Install.ps1
Normal file
3
scripts/Windows/Software/MSEdgeRedirect/Install.ps1
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/pwsh
|
||||||
|
choco install -y MSEdgeRedirect;
|
||||||
|
. "$PSScriptRoot/../../Config/MSEdgeRedirect/Install.ps1";
|
Loading…
Reference in a new issue