openframeworks / projectGenerator

repo for centralizing work on a tool to generate OF projects
83 stars 76 forks source link

.plist is overwritten when using project generator #149

Open kylemcdonald opened 7 years ago

kylemcdonald commented 7 years ago

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".
ofZach commented 7 years ago

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.

kylemcdonald commented 7 years ago

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.

danoli3 commented 1 month ago

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