mirror of https://github.com/cutefishos/calamares
Use pkexec to execute calamares with the right permissions
parent
486f160ca9
commit
fe9a768f29
@ -0,0 +1,22 @@
|
||||
<?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>Calamares</vendor>
|
||||
<vendor_url>https://github.com/calamares</vendor_url>
|
||||
|
||||
<action id="com.github.calamares.calamares.pkexec.run">
|
||||
<description>Run Installer</description>
|
||||
<message>Authentication is required to run the installation program</message>
|
||||
<icon_name>drive-harddisk</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/bin/calamares</annotate>
|
||||
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
|
||||
</action>
|
||||
</policyconfig>
|
Loading…
Reference in New Issue