Stage 5: das-update and das-welcome (0.3.0)
das-tools (Go, GTK 3 via gotk3): - das-update: update window, tray icon when updates are available, --cli mode; xbps-install -Su between a snapper pre/post snapshot pair, privileged part through pkexec, rollback and reboot hints - das-welcome: first-login window with install (live), language, home folder renaming, updates, settings and help das-settings 0.3.0: create home folders with translated names. xdg-user-dirs 0.20 only looks for translations in the first XDG_DATA_DIRS entry with a locale directory (/usr/local/share/locale). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=Das OS update check
|
||||
Comment=Shows a tray icon when updates are available
|
||||
Exec=das-update --tray
|
||||
OnlyShowIn=XFCE;
|
||||
NoDisplay=true
|
||||
@@ -0,0 +1,12 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=System Update
|
||||
Name[uk]=Оновлення системи
|
||||
Comment=Install updates with a snapshot to roll back to
|
||||
Comment[uk]=Встановити оновлення зі знімком для відкату
|
||||
Exec=das-update
|
||||
Icon=software-update-available
|
||||
Terminal=false
|
||||
Categories=System;Settings;
|
||||
Keywords=update;upgrade;xbps;snapshot;
|
||||
Keywords[uk]=оновлення;xbps;знімок;
|
||||
@@ -0,0 +1,6 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=Das OS welcome
|
||||
Exec=das-welcome --autostart
|
||||
OnlyShowIn=XFCE;
|
||||
NoDisplay=true
|
||||
@@ -0,0 +1,10 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=Welcome to Das OS
|
||||
Name[uk]=Ласкаво просимо до Das OS
|
||||
Comment=Language, home folders, updates and help
|
||||
Comment[uk]=Мова, теки, оновлення та довідка
|
||||
Exec=das-welcome
|
||||
Icon=das-logo
|
||||
Terminal=false
|
||||
Categories=System;
|
||||
@@ -0,0 +1,20 @@
|
||||
<?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>Das OS</vendor>
|
||||
<vendor_url>https://git.das.org.ua/das/Das-OS</vendor_url>
|
||||
<action id="ua.org.das.update">
|
||||
<description>Update the system</description>
|
||||
<description xml:lang="uk">Оновлення системи</description>
|
||||
<message>Authentication is required to install system updates</message>
|
||||
<message xml:lang="uk">Для встановлення оновлень потрібна автентифікація</message>
|
||||
<icon_name>software-update-available</icon_name>
|
||||
<defaults>
|
||||
<allow_any>auth_admin</allow_any>
|
||||
<allow_inactive>auth_admin</allow_inactive>
|
||||
<allow_active>auth_admin_keep</allow_active>
|
||||
</defaults>
|
||||
<annotate key="org.freedesktop.policykit.exec.path">/usr/bin/das-update</annotate>
|
||||
</action>
|
||||
</policyconfig>
|
||||
Reference in New Issue
Block a user