set the default browser

This commit is contained in:
Rui Lopes 2019-04-27 18:37:17 +01:00
parent c4f722d01c
commit a85bc47f1c
1 changed files with 4 additions and 0 deletions

View File

@ -27,6 +27,10 @@ cp -Force GoogleChrome-external_extensions.json (Get-Item "$chromeLocation\*\def
cp -Force GoogleChrome-master_preferences.json "$chromeLocation\master_preferences"
cp -Force GoogleChrome-master_bookmarks.html "$chromeLocation\master_bookmarks.html"
# set the default browser.
choco install -y SetDefaultBrowser
SetDefaultBrowser HKLM "Google Chrome"
# see https://github.com/chocolatey/choco/wiki/CreatePackages
# see https://docs.nuget.org/docs/reference/nuspec-reference
Write-Host 'Creating the graceful-terminating-console-application-windows chocolatey package...'