Skip to content

local addons #61

@ofZach

Description

@ofZach

here's my thought about how to do local addons:

(a) allow user to specify them in the settings.json

screen shot 2015-10-17 at 11 32 29 am

(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

screen shot 2015-10-17 at 11 30 56 am

(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

screen shot 2015-10-17 at 11 31 14 am

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.

cc @mattfelsen @arturoc

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions