chmln / handlr

A better xdg-utils
MIT License
616 stars 24 forks source link

Fix crash on read-only mimeapps #48

Closed michaeladler closed 3 years ago

michaeladler commented 3 years ago

Currently handlr is not usable (i.e. it crashes) if mimeapps.list is read-only e.g. because it is managed by something like home-manager. Write permissions are not necessary when reading the file.

I have tested this patch and handlr list and handlr open are working just fine.