Deployment package.json not copying source package.json

Hi everyone! I am dabbling in MV for the first time, and I noticed that I was having colour issues with my game, so I edited my package.json to have the extra line of
"chromium-args": "--force-color-profile=srgb",
This fixed my colour issue. However, when I build the game using deployment, the colour is back to the darker setting, and the package.json in the folder of the built game doesn't include this line. Do I need to do something to ensure that the package.json edit is copied over when deploying?

Cheers!
1761383105119.png
it shouldn't remove during deployment unless it override it somehow.
if that may be the case, you can add it after deployment, just make
sure you double test the game so it runs fine and correctly.

deployment => testing is true checking and IS different from playtest.
so I think if you alter it after deployment, it should work, but I don't know
if it works in each browser or has to be enabled.
Are you using other tools that might modify it? My old linter setting changes the package.json file on save.
MV uses a different packages.json for deloyment and for playtest.

That's what causes the problems if you accidentally deploy into your work directory (never do that).

you'll need to make a deployment, then edit that package.json file the same way - it is slightly different because deployments adds another folder www for the data.
I was going to say something similar to the last comment, but when I had to get MV to have Steam Integration, one of the steps is changing two different sets of folders that have basically the same things. But one is for the editor and one is for deployment.

These folders are not in your project folder at all. They are located in the RPGMakerMV steam folder and is the program that runs the editor and controls things for it.

Original thread: https://forums.rpgmakerweb.com/threads/deployment-package-json-not-copying-source-package-json.180701/