diff options
author | Ondrej Čerman | 2019-12-29 17:34:07 +0100 |
---|---|---|
committer | Ondrej Čerman | 2019-12-29 17:34:07 +0100 |
commit | 600680d3ec25de8e6a7816447577ff3c2a5e185d (patch) | |
tree | 8447eef4a093448effdac6b533e6000134ab3f7f /data | |
parent | 495045ef2ac3c14e2eb2cf49b5c43a11ad5d247b (diff) |
Makefile: Added option for app installation
Diffstat (limited to 'data')
-rw-r--r-- | data/org.pkexec.zenmonitor.policy.in | 18 | ||||
-rw-r--r-- | data/zenmonitor-root.desktop.in | 8 | ||||
-rw-r--r-- | data/zenmonitor.desktop.in | 8 |
3 files changed, 34 insertions, 0 deletions
diff --git a/data/org.pkexec.zenmonitor.policy.in b/data/org.pkexec.zenmonitor.policy.in new file mode 100644 index 0000000..9c5a950 --- /dev/null +++ b/data/org.pkexec.zenmonitor.policy.in @@ -0,0 +1,18 @@ +<?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.pkexec.zenmonitor"> + <description>Run Zenmonitor as root</description> + <message>Authentication is required to run Zenmonitor 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">@APP_EXEC@</annotate> + <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate> + </action> + +</policyconfig> diff --git a/data/zenmonitor-root.desktop.in b/data/zenmonitor-root.desktop.in new file mode 100644 index 0000000..d8a4442 --- /dev/null +++ b/data/zenmonitor-root.desktop.in @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=Zenmonitor (root) +Comment=Monitoring software for AMD Zen-based CPUs +Exec=pkexec @APP_EXEC@ +Type=Application +Categories=GTK;System; +Terminal=false +Keywords=CPU;AMD;zen;system;core;speed;clock;temperature;voltage; diff --git a/data/zenmonitor.desktop.in b/data/zenmonitor.desktop.in new file mode 100644 index 0000000..91e583b --- /dev/null +++ b/data/zenmonitor.desktop.in @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=Zenmonitor +Comment=Monitoring software for AMD Zen-based CPUs +Exec=@APP_EXEC@ +Type=Application +Categories=GTK;System; +Terminal=false +Keywords=CPU;AMD;zen;system;core;speed;clock;temperature;voltage; |