Skip to content

Commit 4f3db26

Browse files
committed
🐛 Fix icon theme loading
1 parent f259bac commit 4f3db26

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/app.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -967,7 +967,9 @@ export class KandoApp {
967967

968968
// We return the relative path of the files to the icon theme directory.
969969
resolve(
970-
files.map((file) => path.relative(directory, path.join(directory, file.name)))
970+
files.map((file) =>
971+
path.relative(directory, path.join(file.parentPath, file.name))
972+
)
971973
);
972974
});
973975
});

0 commit comments

Comments
 (0)