Custom client complie

Anyone ever done a custom RocketChat client compile that can give some insight on how it’s done? I’d like to make custom builds of the client with a hardcoded server and the option to add new ones removed…

Anyone ever done this before?

What client are you trying to compile?

Right now just as a test it would be vanilla clients for Linux and Windows. Once I know the process then I would create the custom versions.