pisi-software-center:build files are modified

This commit is contained in:
2026-05-07 00:56:55 +03:00
parent 6652f8c2ed
commit 585bc213e6
4 changed files with 61 additions and 13 deletions
@@ -0,0 +1,11 @@
import os
def postInstall(fromVersion, fromRelease, toVersion, toRelease):
# MIME veritabanını güncelle (.pisi uzantısını tanısın)
os.system("update-mime-database /usr/share/mime")
# Desktop veritabanını güncelle (Hangi dosyanın hangi uygulama ile açılacağını kaydet)
os.system("update-desktop-database /usr/share/applications")
# (Opsiyonel) .pisi dosyaları için varsayılan uygulamayı ayarla
os.system("xdg-mime default pisi-installer.desktop application/pisi-software-center.xml")