Preserve trusted state when launchers are copied
For local files, if a *.desktop
file is copied, if the original file is either trusted, or inside XDG_DATA_DIR
, the new *.desktop
file is as well trusted and flagged as executable.
For local files, if a *.desktop
file is copied, if the original file is either trusted, or inside XDG_DATA_DIR
, the new *.desktop
file is as well trusted and flagged as executable.