From 40eacd7f5d1d1ab029f81f15d7439f2c99cd647b Mon Sep 17 00:00:00 2001 From: "Michael H.G. Schmidt" Date: Mon, 16 Jan 2023 09:21:50 +0100 Subject: [PATCH] Set Firefox as default browser #86 --- scripts/install-firefox.cmd | 3 +++ scripts/unpack-zipfiles.cmd | 6 ++++++ software/basic.csv | 1 + 3 files changed, 10 insertions(+) diff --git a/scripts/install-firefox.cmd b/scripts/install-firefox.cmd index 47a3bb2..18b6d07 100644 --- a/scripts/install-firefox.cmd +++ b/scripts/install-firefox.cmd @@ -64,5 +64,8 @@ copy /Y %UBLOCKFILE% %FIREFOXBASE%\distribution\extensions\%UBLOCKTARGET% echo installing Team Password Manager plugin ... copy /Y %TPMFILE% %FIREFOXBASE%\distribution\extensions\%TPMTARGET% +echo setting firefox as default browser ... +SetDefaultBrowser.exe HKLM "Firefox-308046B0AF4A39CB" + echo ####### %0 ####### diff --git a/scripts/unpack-zipfiles.cmd b/scripts/unpack-zipfiles.cmd index 273c4bf..ff61d60 100644 --- a/scripts/unpack-zipfiles.cmd +++ b/scripts/unpack-zipfiles.cmd @@ -23,6 +23,7 @@ for %%A in ( regscanner restic serviwin + setdefaultbrowser showkeyplus trid triddefs @@ -105,6 +106,11 @@ move /Y %T%\restic\*.exe %TOOLS%\restic.exe rd /S /Q %T%\restic echo. +echo SetDefaultBrowser +move /Y %T%\SetDefaultBrowser\*.exe %TOOLS% +rd /S /Q %T%\SetDefaultBrowser +echo. + echo ServiWIN move /Y %T%\serviwin\*.exe %TOOLS% rd /S /Q %T%\serviwin diff --git a/software/basic.csv b/software/basic.csv index c4f587c..8200450 100644 --- a/software/basic.csv +++ b/software/basic.csv @@ -35,4 +35,5 @@ https://registry-finder.com/bin/2.55.0.0/RegistryFinder64.zip registryfinder.zip https://mark0.net/download/trid_w32.zip trid.zip https://mark0.net/download/triddefs.zip triddefs.zip https://github.com/microsoft/terminal/releases/download/v1.10.2383.0/Microsoft.WindowsTerminal_1.10.2383.0_8wekyb3d8bbwe.msixbundle windowsterminal-setup.msixbundle +https://kolbi.cz/SetDefaultBrowser.zip setdefaultbrowser.zip