mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-09-17 15:57:18 -04:00
修复导出启动器时未正确从 .hmcl/background 中查找壁纸的问题 (#3936)
This commit is contained in:
parent
ad312a61fe
commit
fb37e3b0df
@ -127,7 +127,7 @@ public final class ExportWizardProvider implements WizardProvider {
|
||||
zip.putTextFile(exported.toJson(), ".hmcl/hmcl.json");
|
||||
zip.putFile(tempModpack, "modpack.zip");
|
||||
|
||||
Path bg = Metadata.HMCL_CURRENT_DIRECTORY.resolve("bg");
|
||||
Path bg = Metadata.HMCL_CURRENT_DIRECTORY.resolve("background");
|
||||
if (!Files.isDirectory(bg))
|
||||
bg = Metadata.CURRENT_DIRECTORY.resolve("bg");
|
||||
if (Files.isDirectory(bg))
|
||||
|
Loading…
x
Reference in New Issue
Block a user