As parent comment noticed there is no need to bypass anything. Just ask the user for root permissions like any other installer and the user will accept.
That's how Riot installs their thing in the first place and that's how everybody can install their own thing.