From eeed4a2cbd55f8b290e11a4340d6ce29b58273f4 Mon Sep 17 00:00:00 2001 From: CI010 Date: Mon, 29 Jan 2024 22:22:31 +0800 Subject: [PATCH] fix: forge profile installation post processing failed --- packages/installer/profile.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/installer/profile.ts b/packages/installer/profile.ts index 7c09d569..6263d0c2 100644 --- a/packages/installer/profile.ts +++ b/packages/installer/profile.ts @@ -315,7 +315,7 @@ export class PostProcessingTask extends AbortableTask { if (this.isPaused) { throw PAUSEED } - if (!proc.outputs || await this.isInvalid(proc.outputs)) { + if (!proc.outputs || Object.keys(proc.outputs).length === 0 || await this.isInvalid(proc.outputs)) { await this.postProcess(this.minecraft, proc, this.java) } if (this.isCancelled) {