gentoo-ebuilds/app-benchmarks/i7z/files/i7z_GUI.policy
Pacho Ramos 6b519a41ff
app-benchmarks/i7z: Migrate to qt6
By the way, also provide a working desktop file for regular desktop
users to more easily launch i7z gui.

Thanks-to: Andreas Sturmlechner
Closes: https://bugs.gentoo.org/947627
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
2025-01-16 15:16:20 +01:00

18 lines
833 B
XML

<?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>
<vendor>i7z</vendor>
<vendor_url>https://github.com/ajaiantilal/i7z</vendor_url>
<icon_name>i7z</icon_name>
<action id="i7z_GUI">
<description>Run i7z_GUI as root</description>
<message>Authentication is required to run i7z GUI as root</message>
<defaults>
<allow_any>auth_admin</allow_any>
<allow_inactive>auth_admin</allow_inactive>
<allow_active>auth_admin</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">/usr/sbin/i7z_GUI</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
</action>
</policyconfig>