mirror of
https://github.com/morgan9e/AdvancedReboot
synced 2026-04-15 00:47:12 +09:00
Initial commit
Add screenshot to README
This commit is contained in:
20
com.example.advancedreboot.policy
Normal file
20
com.example.advancedreboot.policy
Normal file
@@ -0,0 +1,20 @@
|
||||
<?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>Custom</vendor>
|
||||
<vendor_url>https://example.com</vendor_url>
|
||||
|
||||
<action id="com.example.advancedreboot.run">
|
||||
<description>Run Advanced Reboot Tool</description>
|
||||
<message>Authentication is required to access boot configuration and reboot</message>
|
||||
<icon_name>system-reboot</icon_name>
|
||||
<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">/usr/local/bin/advanced-reboot</annotate>
|
||||
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
|
||||
</action>
|
||||
</policyconfig>
|
||||
Reference in New Issue
Block a user