Skip to content

Commit ad104f8

Browse files
committed
Fix prism install renaming...
1 parent 9f73d9b commit ad104f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

installer/src/main/kotlin/gg/essential/installer/launcher/prism/PrismLauncher.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ class PrismLauncher(
257257
Files.newOutputStream(packPath, StandardOpenOption.TRUNCATE_EXISTING, StandardOpenOption.CREATE).use { json.encodeToStream(packJsonObject, it) }
258258
logger.debug("Wrote pack to {}", packPath)
259259
}.then(installStepName) {
260-
if (editInstallInfo.updateName)
260+
if (!editInstallInfo.updateName)
261261
return@then
262262

263263
val configPath = editInstallInfo.instanceFolder / "instance.cfg"

0 commit comments

Comments
 (0)