Add system-wide installation via pkexec with polkit policy

This commit is contained in:
lashman
2026-02-28 00:11:57 +02:00
parent c622057830
commit 27eb9f259d
4 changed files with 231 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policyconfig PUBLIC
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
"https://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
<policyconfig>
<vendor>Driftwood</vendor>
<vendor_url>https://github.com/driftwood-appimage</vendor_url>
<action id="app.driftwood.Driftwood.system-install">
<description>Install AppImage system-wide</description>
<message>Authentication is required to install an AppImage for all users.</message>
<defaults>
<allow_any>auth_admin</allow_any>
<allow_inactive>auth_admin</allow_inactive>
<allow_active>auth_admin_keep</allow_active>
</defaults>
</action>
</policyconfig>