openframeworks / openframeworks/openFrameworks
get the path to an addon data folder
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.4k
- Forks
- 2.6k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 9
Description
I wonder if there is a way to get the data path of a specific addon. It would be great to have the possibility to store addon related data within a folder so it wouldn't have to be added to the bin/data folder of each project.
something like ofToAddonsDataPath(string addonName, string path);
Is there a way to retrieve the of location with code. Because we can't guarantee anymore that the addons path is simply "../../addons"
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the existing addon path handling and path utilities in the openFrameworks source; the issue names no files or tests. Determine how addon data paths should work across supported platforms and what behavior the proposed API should guarantee, then document the expected result and add coverage where the existing path logic is tested.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100