Add .policy and .desktop

pull/47/head
Dmitry Razumov 4 weeks ago
parent a91188a0cc
commit 7329bf9dc3
Signed by: asmeron
GPG Key ID: 50BC1DB583B79706

@ -0,0 +1,24 @@
<?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>UBLinux</vendor>
<vendor_url>https://ublinux.com</vendor_url>
<action id="com.ublinux.ubinstall-gtk.run">
<description>Run system installation as root user</description>
<description xml:lang="ru">Запустить установку системы от имени пользователя root</description>
<message>Authentication is required to run system installation as root</message>
<message xml:lang="ru">Требуется аутентификация для запуска установки системы от имени пользователя root</message>
<defaults>
<allow_any>auth_admin</allow_any>
<allow_inactive>auth_admin</allow_inactive>
<allow_active>auth_admin</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">/usr/bin/ubinstall-gtk</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
</action>
</policyconfig>

@ -0,0 +1,18 @@
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=System installation
Name[ru]=Установка системы
GenericName=System installation
GenericName[ru]=Установка системы
Comment=Start system installation
Comment[ru]=Начать установку системы
Keywords=install;system;
Keywords[ru]=установка;система;
Type=Application
Exec=pkexec ubinstall-gtk
Icon=com.ublinux.ubinstall-gtk
Terminal=false
StartupNotify=true
StartupWMClass=ubinstall-gtk
Categories=XFCE;GTK;Settings;System
Loading…
Cancel
Save