Hello guys. I am just experimenting with Brave to see how it works and I am just curious how can I change the name from Brave to something different? What files need to be edited? I changed buildPackage.js and buildInstaller.js but without success. When I change the name in buildPackage it's make the files again in 'Brave-platform-arch' folder and the output is that it can not find some files.. I think that braveDefaults file need to be changed too but somewhere I am missing something.. Thanks
@mmilkov are you just wanting to rename the executable? or you want to rebrand the entire thing?
It's definitely possible and you're allowed if you git grep around enough, possibly also inside brave/muon. But this is not something we provide support for. As it stands now there isn't a centralized setting for changing the name.
Feel free to upstream though if you make things easier to change the name for and you'd like to limit the number of things you need to rebase.
@bsclifton yes, I want to rebrand it. But I want only to edit the really necessary files like buildPackage.js, nsi file.. and build folders and files like braveDefaults and brave.exe to be changed to something else.
@mmilkov ah ok. If you wanted to compile a list of places where "Brave" appears and then make an issue to make the product name configurable (including your findings), I think that would be reasonable :smile:
@bsclifton Okay, I am trying to do it, but without success.. I am just editing the buildPackage.js and change every "Brave" to "Brav" but when I run "npm run build-package" I got:
Packaging app for platform win32 x64 using electron v1.4.31
Fatal error: Unable to load file
undefined
done
Can I have a little help? Thanks :)
@mmilkov if you choose to not change anything, does that happy-path work? There are a few steps on our wiki that you'll need to follow to get it working
https://github.com/brave/browser-laptop/wiki/Packaging-for-bundles,-installers,-and-updates
@bsclifton yes without changing "Brave" to "Brav" is working like a charm :) Can you try it? Thanks
@mmilkov I haven't had time recently to look, but I would encourage you to make a new issue called "Make Brave re-brandable" and then put your findings (as you make them) there :smile: I've been busy with our current release and likely won't have time to help look at this until a later time
@bsclifton Thanks. New issue is here https://github.com/brave/browser-laptop/issues/6565 :)))