portapps / brave-portable

🚀 Brave web browser portable for Windows
https://portapps.io/app/brave-portable/
MIT License
311 stars 37 forks source link

Not possible to register portable Brave as Standard browser #125

Open Giorgio-Germani opened 1 year ago

Giorgio-Germani commented 1 year ago

It would be a good idea include the script found here for firefox in the package in order to make brave portable the standard browser in the system.

https://www.winhelponline.com/blog/register-firefox-portable-with-default-apps/

Giorgio-Germani commented 1 year ago

I modified the script so it works with brave. brave-portable.vbs.txt Just add it to the folder and delete the txt so you can execute it as a vbs file.

Quisquose commented 1 year ago

When I set brave portable as my default browser, it works but it won't use my profile.

My profile is located in Brave's program folder (Brave\data). If I run the brave-portable.exe directly then everything works fine and my profile is used. But if I click on a url file or an html file, then my Brave profile is not used. Instead a new Brave profile keeps being created in: ..\AppData\Local\BraveSoftware\Brave-Browser\User Data (which defeats the entire purpose of a portable browser).

How can I get my default profile (the one that's in Brave's program folder) to be used even when Brave is launched indirectly using associated file types? (e.g. url, html etc.)