openframeworks / openframeworks/openFrameworks

get the path to an addon data folder

Open
#1,599 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature section-internals
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.