Skip to content

Fix manifest pack name and version parsing in skin pack export#861

Open
nchiari wants to merge 1 commit intoJannisX11:masterfrom
nchiari:patch-1
Open

Fix manifest pack name and version parsing in skin pack export#861
nchiari wants to merge 1 commit intoJannisX11:masterfrom
nchiari:patch-1

Conversation

@nchiari
Copy link

@nchiari nchiari commented Mar 2, 2026

  • Use the user-provided Pack Name in manifest.json (header.name) instead of the hardcoded "pack.name".
  • Normalize exported manifest version to a numeric 3-part array ([major, minor, patch]).
  • Accept flexible version input formats (e.g. 1, 1.0, 1.0.0, mixed text) and safely parse them into [x, y, z].
  • Fix export dialog default value for Version to use FormValues.version (instead of FormValues.uuid).

- Use the user-provided Pack Name in manifest.json (header.name) instead of the hardcoded "pack.name".
- Normalize exported manifest version to a numeric 3-part array ([major, minor, patch]).
- Accept flexible version input formats (e.g. 1, 1.0, 1.0.0, mixed text) and safely parse them into [x, y, z].
- Fix export dialog default value for Version to use FormValues.version (instead of FormValues.uuid).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant