Skip to content

Commit

Permalink
Flatpak: Regain access to HOME (#118)
Browse files Browse the repository at this point in the history
While it it ideal to restrict filesystem permission, we've faced several issues due to this:

- Created desktop entries disappear after reboot/upgrade
- The path displayed in the entry is weird (/run/user/1000/...)

I thought making Pin It! copy the executable and icon files to ~/.local/share/applications where the desktop file is saved, because it would keep the filesystem permission as small as possible. However, it would need more considerations like the case when the size of the executable or icon file is huge (maybe we need some kind of the progress dialog...)

Considering these side effects, I think regaining access to HOME is simpler and better decision here.
  • Loading branch information
ryonakano authored Jan 26, 2024
1 parent 520c929 commit c8d012a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion com.github.ryonakano.pinit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ finish-args:
- '--share=ipc'
- '--socket=wayland'
- '--socket=fallback-x11'
- '--filesystem=~/.local/share/applications'
- '--filesystem=home'
# For drawing icons
- '--device=dri'
modules:
Expand Down

0 comments on commit c8d012a

Please sign in to comment.