detect if polkit is running
In bitmask we used to detect if polkit was there and warn the user to install it: https://0xacab.org/leap/bitmask-dev/blob/master/src/leap/bitmask/vpn/privilege.py#L119
Let's try to do something similar here.
Hello! We are running our annual fundraising. Please consider making a donation if you value this freely available service or want to support people around the world working towards liberatory social change - https://riseup.net/donate
In bitmask we used to detect if polkit was there and warn the user to install it: https://0xacab.org/leap/bitmask-dev/blob/master/src/leap/bitmask/vpn/privilege.py#L119
Let's try to do something similar here.