summarylogtreecommitdiffstats
path: root/com.github.woeusb.woeusb-ng.policy
blob: 65e4534190df245ba7739d26b0d5e446125b228b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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>