From 7329bf9dc3111d30c7f2351e9b65ea033be7bd3c Mon Sep 17 00:00:00 2001 From: asmeron Date: Fri, 21 Nov 2025 17:19:16 +0600 Subject: [PATCH] Add .policy and .desktop --- files/com.ublinux.ubinstall-gtk.policy | 24 ++++++++++++++++++++++++ files/ubinstall-gtk.desktop | 18 ++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 files/com.ublinux.ubinstall-gtk.policy create mode 100644 files/ubinstall-gtk.desktop diff --git a/files/com.ublinux.ubinstall-gtk.policy b/files/com.ublinux.ubinstall-gtk.policy new file mode 100644 index 0000000..6208a25 --- /dev/null +++ b/files/com.ublinux.ubinstall-gtk.policy @@ -0,0 +1,24 @@ + + + + + UBLinux + https://ublinux.com + + + Run system installation as root user + Запустить установку системы от имени пользователя root + Authentication is required to run system installation as root + Требуется аутентификация для запуска установки системы от имени пользователя root + + auth_admin + auth_admin + auth_admin + + /usr/bin/ubinstall-gtk + true + + + diff --git a/files/ubinstall-gtk.desktop b/files/ubinstall-gtk.desktop new file mode 100644 index 0000000..fc65c6e --- /dev/null +++ b/files/ubinstall-gtk.desktop @@ -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