Skip to content

Commit fb37e3b

Browse files
authored
修复导出启动器时未正确从 .hmcl/background 中查找壁纸的问题 (#3936)
1 parent ad312a6 commit fb37e3b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

HMCL/src/main/java/org/jackhuang/hmcl/ui/export/ExportWizardProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public void execute() throws Exception {
127127
zip.putTextFile(exported.toJson(), ".hmcl/hmcl.json");
128128
zip.putFile(tempModpack, "modpack.zip");
129129

130-
Path bg = Metadata.HMCL_CURRENT_DIRECTORY.resolve("bg");
130+
Path bg = Metadata.HMCL_CURRENT_DIRECTORY.resolve("background");
131131
if (!Files.isDirectory(bg))
132132
bg = Metadata.CURRENT_DIRECTORY.resolve("bg");
133133
if (Files.isDirectory(bg))

0 commit comments

Comments
 (0)