app-builder
app-builder copied to clipboard
Snap apps not working with absolute paths in user-dirs.dirs
I have the following ~/.config/user-dirs.dirs file in my home directory:
XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_DOCUMENTS_DIR="/media/Shared storage/Documents"
XDG_DOWNLOAD_DIR="/media/Shared storage/Downloads"
XDG_MUSIC_DIR="$HOME/Music"
XDG_PICTURES_DIR="/media/Shared storage/Pictures"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_VIDEOS_DIR="/media/Shared storage/Videos"
When I install an app built by app-builder from snap, then nothing is running and no errors in the terminal. This is perplexing.
After a long debug I came to the conclusion that the launch crashes here
desktop-common.sh tries to delete directory /media/Shared storage/Documents and sends all error messages into /dev/null