From 060840f00d50353122d2183ad6c02a72e2fa70ac Mon Sep 17 00:00:00 2001 From: Rmys Date: Fri, 17 Apr 2026 14:54:55 +0300 Subject: [PATCH] calamares rebuild --- system/installer/calamares/actions.py | 6 ++++-- system/installer/calamares/files/calamares.desktop | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/system/installer/calamares/actions.py b/system/installer/calamares/actions.py index 097f51b153..790e57e89e 100644 --- a/system/installer/calamares/actions.py +++ b/system/installer/calamares/actions.py @@ -10,8 +10,8 @@ from pisi.actionsapi import shelltools from pisi.actionsapi import get def setup(): - shelltools.system("""sed -i 's|Fancy GNU/Linux 2020.2 LTS "Turgid Tuba"|Pisi GNU/Linux 2.3.4 LTS "Pisi Linux"|g' src/branding/default/branding.desc""") - shelltools.system("sed -i 's|2020.2|2.3.4|g' src/branding/default/branding.desc") + shelltools.system("""sed -i 's|Fancy GNU/Linux 2020.2 LTS "Turgid Tuba"|Pisi GNU/Linux 2.4.3 LTS "Pisi Linux"|g' src/branding/default/branding.desc""") + shelltools.system("sed -i 's|2020.2|2.4.3|g' src/branding/default/branding.desc") shelltools.system("sed -i 's|FancyGL|Pisilinux|g' src/branding/default/branding.desc") shelltools.makedirs("build") @@ -43,6 +43,8 @@ def install(): #dbus configuration for pisi pisitools.dosed("%s/usr/share/calamares/modules/machineid.conf" % get.installDIR(), "systemd: true", "systemd: false") pisitools.dosed("%s/usr/share/calamares/modules/machineid.conf" % get.installDIR(), "symlink: true", "symlink: false") + + pisitools.dosym("/usr/share/icons/hicolor/scalable/apps/calamares.svg", "/usr/share/pixmaps/calamares.svg") diff --git a/system/installer/calamares/files/calamares.desktop b/system/installer/calamares/files/calamares.desktop index 4ee70f0a63..50cd1029ca 100644 --- a/system/installer/calamares/files/calamares.desktop +++ b/system/installer/calamares/files/calamares.desktop @@ -5,7 +5,7 @@ Name=Pisi Linux — System Installer Name[tr_TR]=Pisi Linux Sistem Yükleyici Comment=Pisi Linux — System Installer Comment[tr_TR]=Pisi Linux Sistem Yükleyici -Exec=sudo LC_ALL=en_US calamares %f +Exec=pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY LC_ALL=en_US calamares %f Icon=calamares Terminal=false StartupNotify=true