Add .policy and .desktop

pull/17/head
Dmitry Razumov 5 months ago
parent b7ad87446e
commit 48fd6a4962
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.ru</vendor_url>
<action id="com.ublinux.ubl-settings-update.run">
<description>Run update settings as root</description>
<description xml:lang="ru">Запустить настройки обновления от имени root</description>
<message>Authentication is required to run the update settings 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/ubl-settings-update</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
</action>
</policyconfig>

@ -0,0 +1,20 @@
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=System update
Name[ru]=Обновление системы
GenericName=System update
GenericName[ru]=Обновление системы
Comment=System update settings
Comment[ru]=Настройки обновления системы
Keywords=ubl-settings-update;update;
Keywords[ru]=ubl-settings-update;обновление;
Type=Application
Exec=ubl-settings-update
Icon=com.ublinux.ubl-settings-update
Terminal=false
StartupNotify=true
StartupWMClass=ubl-settings-update
X-XfcePluggable=true
X-UBLPluggable=true
Categories=XFCE;GTK;Settings;DesktopSettings;X-XFCE-SettingsDialog;X-XFCE-SystemSettings;X-UBL-SettingsManager;X-UBL-SystemSettings;
Loading…
Cancel
Save