mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-21 23:20:23 +00:00
Locate correct fonts in development mode
This commit is contained in:
parent
57c199e6d7
commit
17917de665
1 changed files with 4 additions and 0 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue