Clone Pritunl client and Rebrand it for my personal use

I want to clone pritunl client electron into my machine and rebrand it for my use . I did it and when i am starting it, it is showing the error Client Error /var/run/pritunl.sock file

How can i replicate it ?