Skip to content
This repository was archived by the owner on May 16, 2023. It is now read-only.
This repository was archived by the owner on May 16, 2023. It is now read-only.

Unzip nwjs-osx-unsigned.zip for MV #48

@Dustb0

Description

@Dustb0

Description
When running rpgmpacker on Windows and trying to build for MacOS, the program fails with:
2022-02-13T12:53:57.959Z|ERROR|The template folder C:\Program Files (x86)\Steam\steamapps\common\RPG Maker MV\nwjs-osx-unsigned does not exist!

That's because on Windows, the MacOS template folder is zipped by default. For some reason, RPG Maker unzips the contents of this zip file to the output folder when building for MacOS on Windows:
image

I know that on MacOS that's not the case, the folder is just there. Not sure how it is on Linux. It would be cool if rpgmpacker could handle this case as well for Windows users.

Environment Details

  • Windows 11
  • rpgmpacker Version: 2.0.4
  • Node.js Version: 16.14.0
  • Package Manager: npm

Logs

C:\Users\xxx\Documents>npx rpgmpacker --input "C:\Users\xxx\Documents\MyProject" --output "C:\Users\xxx\Documents\Output" --platforms "Windows" "OSX" "Linux" --rpgmaker "C:\Program Files (x86)\Steam\steamapps\common\RPG Maker MV"
2022-02-13T12:53:48.024Z|INFO|Building output for 3 targets
2022-02-13T12:53:57.958Z|INFO|Finished with Platform Windows
2022-02-13T12:53:57.959Z|ERROR|The template folder C:\Program Files (x86)\Steam\steamapps\common\RPG Maker MV\nwjs-osx-unsigned does not exist!

Metadata

Metadata

Assignees

Labels

MVRPG Maker MV relatedfeatureFeature request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions