make desktop launcher translation safer

This commit is contained in:
Jonathan Carter
2023-09-06 12:58:15 +05:30
parent 739cba6c49
commit 2b4012a6cd
2 changed files with 9 additions and 4 deletions
+5
View File
@@ -1,3 +1,8 @@
[ 13.0.5 unreleased ]
* Use $DESKTOP variable in desktop launcher creater
(doesn't break translations)
[ 13.0.4 ]
* Update config in mount module so that /dev is properly mounted
+4 -4
View File
@@ -27,9 +27,9 @@ else
fi
# Set desktop launcher as trusted under gnome/xfce (See: #1037299)
gio set --type=string ~/Desktop/calamares-install-debian.desktop \
gio set --type=string $DESKTOP/calamares-install-debian.desktop \
metadata::trusted true
gio set --type=string ~/Desktop/calamares-install-debian.desktop \
gio set --type=string $DESKTOP/calamares-install-debian.desktop \
metadata::xfce-exe-checksum \
"$(sha256sum ~/Desktop/calamares-install-debian.desktop | cut -f1)"
touch ~/Desktop/calamares-install-debian.desktop
"$(sha256sum $DESKTOP/calamares-install-debian.desktop | cut -f1)"
touch $DESKTOP/calamares-install-debian.desktop