Skip to content

Commit

Permalink
Update script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
PepeOnGithub authored May 28, 2024
1 parent 6aa16f4 commit 4bd8175
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
function generateManifest() {
var packType = document.getElementById("packType").value;
var name = document.getElementById("name").value;
var description = document.getElementById("description").value;
var version = document.getElementById("version").value;
Expand All @@ -19,7 +20,7 @@ function generateManifest() {
},
"modules": [
{
"type": "resources",
"type": packType === 'resources' ? 'resources' : 'data',
"uuid": uuid2,
"version": [parseInt(version.split(".")[0]), parseInt(version.split(".")[1]), parseInt(version.split(".")[2])]
}
Expand Down

0 comments on commit 4bd8175

Please sign in to comment.