Closed elevenhsoft closed 2 months ago
So looks like you are accessing the paths relative to $HOME
and not $XDG_DATA_HOME
https://github.com/elevenhsoft/WebApps/blob/a8d5bc78d2a08c86d57760ac7ead550f6272e2c7/src/common.rs#L37-L42
You don't need --filesystem=xdg-data/applications
, --filesystem=~/.local/share/applications
is enough.
The difference is that xdg-data/foo
binds mount the path and sets the environment variable XDG_DATA_HOME
Oh, that's nice. So this exception is not needed? I will make an adjustment in that case.
What about the second one which is xdg-data/flatpak:ro
?
I just changed those paths so now it points to ~/.local/share instead of xdg-data. Sorry for confusions. I did not need to use xdg-data since I'm using absolute paths in my code anyway. Ehh...
Hey, I'm developing COSMIC Web Apps. It's allow to create "web applications" from your web browser of choice. Unfortunately it's need
rw
permissions for creating desktop files andro
for reading what web browsers user have installed.