Skip to content

package: Try to load resource module name if available

Marco Trevisan requested to merge 3v1n0/gjs:pkg-loader-name-retry into master

Use the module name to load the GResource file if using the actual loading name failed.

This avoids applications to have a binary name called with the package name if they want to.


Personaly I think that moduledir = loadResource(_pkgname) should have priority anyways to avoid IO, but I didn't want to change the current behavior too much.

Merge request reports