Also export icons when exporting desktop files

This commit is contained in:
Kron4ek 2023-05-05 00:15:56 +05:00
parent 03efe023fa
commit fe425cbb61

View file

@ -15,11 +15,11 @@ if (( EUID == 0 )) && [ -z "$ALLOW_ROOT" ]; then
fi fi
# Conty version # Conty version
script_version="1.22" script_version="1.22.1"
# Important variables to manually adjust after modification! # Important variables to manually adjust after modification!
# Needed to avoid problems with mounting due to an incorrect offset. # Needed to avoid problems with mounting due to an incorrect offset.
script_size=27087 script_size=27167
utils_size=2520686 utils_size=2520686
# Full path to the script # Full path to the script
@ -844,6 +844,8 @@ if [ "$(ls "${mount_point}" 2>/dev/null)" ] || \
fi fi
done done
cp -nr "${mount_point}"/usr/share/icons "${HOME}"/.local/share 2>/dev/null
echo "Desktop files have been exported" echo "Desktop files have been exported"
exit exit