-
Notifications
You must be signed in to change notification settings - Fork 77
Description
here's my thought about how to do local addons:
(a) allow user to specify them in the settings.json
(b) convert them internally in the GUI to an absolute path (it just gets confusing to have relative paths from OF and relative paths from the project. This absolute path is based on the path to OF so if OF moves, this doesn't break.
(c) show them in the drop down as well as the core addons
(d) pass them into the PG via their absolute path.
projectGenerator -o"/Users/zachlieberman/Documents/openframeworks/git/openFrameworks" -a"/Users/zachlieberman/Documents/openframeworks/git/openFrameworks/otherAddons/ofxDummy" -p"osx" "/Users/zachlieberman/Documents/openframeworks/git/openFrameworks/apps/myApps/myImposingSketch"
(e) they get converted to relative paths in the PG and added to the project
all this is generally working, but I haven't figured out what do about importing? (ie, read the addons.make, convert these to absolute paths, attempt to match them against the set local addons, etc). The gui "update" command kind of trashes the addons.make file so it's important to figure out what import should do.