mortenn / BrowserPicker

Smart browser selector for Windows
MIT License
262 stars 17 forks source link

Add privacy mode and running detection for Opera Stable #60

Closed yanus closed 2 years ago

yanus commented 2 years ago

Addresses #59 by checking for "Opera" (or "Opera Stable" as the entry is called by default) as the name, "Opera\Launcher.exe" to identify the command, and "Opera\Opera.exe" to identify the process (including the "Opera" pathname to distinguish it from other executables called Launcher.exe). I've also worked on a solution for other versions of Opera (GX, beta, and developer), see branch "opera-compatibility-wip", but it's not ideal because it can't distinguish between the processes, since the code only checks the process name (and they are all called opera.exe) rather than the full path to the executable. So let me know what you think about it.