Locate correct fonts in development mode

This commit is contained in:
crschnick 2024-01-02 06:59:04 +00:00
parent 57c199e6d7
commit 17917de665

View file

@ -283,6 +283,10 @@ public class XPipeInstallation {
}
public static Path getBundledFontsPath() {
if (!ModuleHelper.isImage()) {
return Path.of("dist", "fonts");
}
var install = getCurrentInstallationBasePath();
var type = OsType.getLocal();
if (type.equals(OsType.WINDOWS)) {