projectGenerator icon indicating copy to clipboard operation
projectGenerator copied to clipboard

.plist is overwritten when using project generator

Open kylemcdonald opened this issue 8 years ago • 3 comments
trafficstars

Tested on OSX using the openFrameworks 0.9.8 project generator.

Two situations where this is an issue:

  1. On Mac, I often have "High Resolution Capable" set to "True" to run apps at full retina resolution.
  2. On iOS, when using the camera I have an entry for "Privacy - Camera Usage Description".

kylemcdonald avatar Mar 18 '17 20:03 kylemcdonald

thanks - would the suggested behavior be to not overwrite if it already exists? this file is part of the template and we are copying things over so it's getting overwritten.... We also overwrite the project files (since that is regenerated based on addons, etc) and this can clobber non standard settings.
It's hard to be super graceful but we can try.

ofZach avatar Mar 18 '17 22:03 ofZach

The best would be to know what needs to be changed and what doesn't, and merge the plists, but I have a feeling that would be really complicated :) I think not overwriting if it exists is a great solution. That way if someone wants it to be recreated, they can delete and re-run the PG.

kylemcdonald avatar Mar 19 '17 00:03 kylemcdonald

Noticed this! Annoying as ! also high resolution should always be on, who doesn't have a retina Mac now?

danoli3 avatar Jul 10 '24 15:07 danoli3