code icon indicating copy to clipboard operation
code copied to clipboard

change actual name (in modrinth.index.json) when changing "modpack name" in export dialog

Open DevLung opened this issue 1 year ago • 1 comments

Please confirm the following.

  • [X] I checked the existing issues for duplicate feature requests
  • [X] I have checked that this feature request is not on our roadmap

What parts of Modrinth is your feature request related too?

App

Is your suggested feature related to a problem? Please describe.

I make a modpack and the name of the instance I work in is different to the modpack's name. (It's called "[DEV] " so I can tell it apart from an actual modpack release instance.) But when I export the modpack, even though I remove the "[DEV]" from the "modpack name" field in the export dialog, the "name" value in modrinth.index.json isn't changed, so if I would install the pack from that .mrpack, the name of that instance would still be the one of my dev instance. (I manually edit modrinth.index.json to fix this)

Describe the solution you'd like

It would be nice if changing the value of the "modpack name" field in the export dialog would not only change the name of the .mrpack file but would also change the "name" value in modrinth.index.json, so the instance created on install will be named after the name you gave your pack on export and not after the instance the pack was created from.

Describe alternatives you've considered

Alternatively, a second name field could be added to the export dialog: one for the file name and one for the instance name (that would probably be confusing though so it would need to be well explained in the UI...)

Additional context

No response

DevLung avatar Aug 31 '24 08:08 DevLung

I'm having the same issue. Commenting to bump it maybe since it hasn't been touched since August. To be honest I would actually consider this to be a bug instead of a feature request.

szymon-off avatar Mar 27 '25 08:03 szymon-off