Skip to content

Commit

Permalink
Only show subproject warning if multiplatform is selected
Browse files Browse the repository at this point in the history
  • Loading branch information
cassiancc committed Dec 30, 2024
1 parent 671055c commit f642f8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion res/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ document.getElementById("generate-button").onclick = async () => {
} else if (state.package_name === "") {
showError("Package name is empty");
return;
} else if (!isLoaderChecked()) {
} else if ((!isLoaderChecked()) && (multiplatformInput.checked == true)) {
showError("You need to choose at least one subproject first!")
return
}
Expand Down

0 comments on commit f642f8e

Please sign in to comment.