Skip to content

yeroo/BrowserSelect

Repository files navigation

Browser Select Utility

Helps to choose what browser to use when you click on links in applications

Native version (current)

native/ contains the C++ rewrite — a single dependency-free Win32 exe (Direct2D/DirectComposition rendering, Mica backdrop, double-buffered flip-model swap chain). It reads the same %APPDATA%\yeroo\browser_select\settings.json, uses the same per-user browser registration as the old .NET version, and keeps the browser list + icons in browsers.cache so the picker opens instantly while the list refreshes asynchronously in the background.

Build

Requires Visual Studio (Desktop development with C++ workload):

$vswhere = "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe"
$msbuild = & $vswhere -latest -requires Microsoft.Component.MSBuild `
    -find MSBuild\**\Bin\MSBuild.exe | Select-Object -First 1
& $msbuild native\BrowserSelect.sln /p:Configuration=Release /p:Platform=x64 /m

Output: native\x64\Release\browser_select.exe

Command line: browser_select.exe [url], plus /register and /unregister for the per-user default-browser registration (run by the installer).

Installer

native/installer/browser_select.iss (Inno Setup 6). Its AppId is the old MSI's UpgradeCode, and it uninstalls the old vdproj MSI automatically, so it upgrades existing installs in place:

iscc native\installer\browser_select.iss

Legacy .NET version

browser_select/ + RegisterBrowser/ (WPF, .NET 7, WPF-UI) — kept for reference; the native version replicates its UI and behavior.

About

Browser Select Utility

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages