Skip to content

Commit

Permalink
Removed polkit_path since they are no longer needed
Browse files Browse the repository at this point in the history
  • Loading branch information
calexandru2018 committed Jun 1, 2020
1 parent bf8d850 commit 3bd2d44
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions linux_gui/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,29 +61,6 @@
[Install]
WantedBy=multi-user.target
"""
POLKIT_PATH = "/usr/share/polkit-1/actions/org.freedesktop.protonvpn-gui.policy"
POLKIT_TEMPLATE = """
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policyconfig PUBLIC
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
"http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
<policyconfig>
<action id="org.freedesktop.policykit.pkexec.run-ProtonVPN-GUI">
<description>Run ProtonVPN GUI</description>
<message>Authentication is required to run ProtonVPN</message>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>auth_admin</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">[PATH]</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">TRUE</annotate>
</action>
</policyconfig>
"""
CLI_ABSENCE_INFO = """
<b>Could not find linux-cli installed on your system!</b>\t
Original linux-cli is needed for the GUI to work.
Expand Down

0 comments on commit 3bd2d44

Please sign in to comment.