afrantzis / bless

Bless - Gtk# Hex Editor
GNU General Public License v2.0
210 stars 38 forks source link

Show system-wide layouts #49

Open felixdoerre opened 2 years ago

felixdoerre commented 2 years ago

The method GetDataPath resolves a path relative to the data directory, for example relative to the binary or by using the constant specified during configure. However that path already includes the data part of the directory, as this directory is assumed to contain bless-default.layout, so the additional "data" speficied here is superfluous, resulting in no system-layouts to be found. I am curious if there is a configuation where this code works.