diff options
author | Jakub Szymański | 2021-02-06 18:35:12 +0100 |
---|---|---|
committer | Jakub Szymański | 2021-02-06 18:35:12 +0100 |
commit | dc7e4ccac895b39fe37d27f40fb4a21897a83d08 (patch) | |
tree | 24c814efcddb6fee0806c59f3d6d11c77d491bc4 /com.github.woeusb.woeusb-ng.policy | |
parent | 88b9569627e3548cf45217a763b0ce953c142141 (diff) | |
download | aur-dc7e4ccac895b39fe37d27f40fb4a21897a83d08.tar.gz |
Update to 0.2.7
Diffstat (limited to 'com.github.woeusb.woeusb-ng.policy')
-rw-r--r-- | com.github.woeusb.woeusb-ng.policy | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/com.github.woeusb.woeusb-ng.policy b/com.github.woeusb.woeusb-ng.policy new file mode 100644 index 000000000000..65e4534190df --- /dev/null +++ b/com.github.woeusb.woeusb-ng.policy @@ -0,0 +1,28 @@ +<?xml version="1.0" ?><!DOCTYPE policyconfig PUBLIC '-//freedesktop//DTD polkit Policy Configuration 1.0//EN' 'http://www.freedesktop.org/software/polkit/policyconfig-1.dtd'><!-- +DOC: https://www.freedesktop.org/software/polkit/docs/latest/polkit.8.html +--><policyconfig> + <vendor>The WoeUSB Project</vendor> + <vendor_url>https://github.com/slacka/WoeUSB</vendor_url> + <icon_name>woeusbgui-icon</icon_name> + + <action id="com.github.slacka.woeusb.run-gui-using-pkexec"> + <description>Run `woeusb` as SuperUser</description> + <description xml:lang="zh_TW">以超級使用者(SuperUser)身份執行 `woeusb`</description> + <description xml:lang="pl_PL">Uruchom `woeusb` jako root</description> + <description xml:lang="pt_BR">Execute `woeusb` como root</description> + + <message>Authentication is required to run `woeusb` as SuperUser.</message> + <message xml:lang="zh_TW">以超級使用者(SuperUser)身份執行 `woeusb` 需要通過身份驗證。</message> + <message xml:lang="pl_PL">Wymagana jest autoryzacja do uruchomienia `woeusb` jako root</message> + <message xml:lang="pt_BR">A autenticação é necessária para executar `woeusb` como root.</message> + + <defaults> + <allow_any>auth_admin</allow_any> + <allow_inactive>auth_admin</allow_inactive> + <allow_active>auth_admin_keep</allow_active> + </defaults> + + <annotate key="org.freedesktop.policykit.exec.path">/usr/bin/woeusbgui</annotate> + <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate> + </action> +</policyconfig> |