portapps / brave-portable

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

Feature request: Config for user data directory #154

Open Nezteb opened 7 months ago

Nezteb commented 7 months ago

It looks like the app currently doesn't allow you to set the data directory:

https://github.com/portapps/brave-portable/blob/2f22c0c62309d0319138086afed5497852fd87d6/main.go#L42-L63

It'd be nice if we could choose where that data is stored, including in the install directory of the portable app itself. This seems like a good candidate for a config item perhaps? Example:

app:
  cleanup: false
  user_data_dir: 'C:\portapps\brave-portable\data\user'

This is somewhat related to an existing issue, but I wanted to phrase this as more of a feature request than an inquiry. 😄

ednykissyou commented 7 months ago

This portability is not very scientific. The portable "brain portable. exe" you set up cannot be used as the default browser for Win11. Moreover, the response speed of "brave. exe" is faster than that of "brave portable. exe", but "brave. exe" does not have a "data" folder.