Write displayName during modrinth activate
This commit is contained in:
parent
152386bcbf
commit
aa0703966a
1 changed files with 1 additions and 0 deletions
|
@ -67,6 +67,7 @@ export const activateCommand = new Command("activate")
|
||||||
|
|
||||||
await fs.mkdirp(absolutePath.parent().toString())
|
await fs.mkdirp(absolutePath.parent().toString())
|
||||||
await writeJsonFile(absolutePath, metaFileContentSchema, {
|
await writeJsonFile(absolutePath, metaFileContentSchema, {
|
||||||
|
displayName: modrinthMod.title,
|
||||||
formatVersion: FORMAT_VERSION,
|
formatVersion: FORMAT_VERSION,
|
||||||
enabled: true,
|
enabled: true,
|
||||||
version: getMetaFileContentVersionForModrinth(modrinthVersion),
|
version: getMetaFileContentVersionForModrinth(modrinthVersion),
|
||||||
|
|
Loading…
Add table
Reference in a new issue