Skip to content

Commit

Permalink
fix: forge profile installation post processing failed
Browse files Browse the repository at this point in the history
  • Loading branch information
ci010 committed Jan 29, 2024
1 parent 11c4d45 commit eeed4a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/installer/profile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ export class PostProcessingTask extends AbortableTask<void> {
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) {
Expand Down

0 comments on commit eeed4a2

Please sign in to comment.