You can clone with
Setting the process.env.LOCALAPPDATA or process.env.APPDATA after run-time doesn't seem to effect where data is placed locally. Ideally, we should be able to edit this, for example,
process.env.LOCALAPPDATA = process.execPath + "\\Data";
Or perhaps even adding a custom attribute in package.json "data-path" - although, again, ideally we would be able to map relative to process.execPath.
Perhaps there is another way to do this already?
Hi @vaughnroyko , we have the ability to set the data-path in the package.json now. For your reference, you can find an example in our google group mail list: Link.
And also, here is the wiki link about data-path. So setting the command line switch via the chromium-args can help, about the chromium-args.
However, currently we didn't offer a api to change it when your app is running. Here is the issue to track this #471 .
Awesome! Thanks for the information. Just for reference to others who may stumble, I have added the following to my package.json: