Skip to content

Conversation

@weefuzzy
Copy link
Member

Non-urgent quality of life improvement for devs:

It's a relatively trivial change, but smacks of Being Clever, so I'd be grateful if @tedmoore could look it over and see if there's something I've not considered.

FluidFilesPath works ok at the moment, but relies on a relative path formulation to guess where the resources directory is.

I've come across an edge case that breaks this whilst putting together an improved development experience that creates a mimic of the final installed package layout, but with symlinks for everything*. At this point, using a relative path in sclang breaks, because it just sees through the symlinks and looks in the wrong place for the resources folder.

What this does instead is – once – scans through all the packages that Main.packages knows about, and looks for path matches likely to be unique to flucoma (Resources/AudioFiles/Tremblay*), in order to reliably locate the actual package directory on disk (whether populated by symlinks or not).

* Which is really cool (you can edit classes and help files in place, and everything just works! Except this) – it's all part of a cmake overhaul

@weefuzzy weefuzzy requested review from tedmoore and tremblap January 23, 2026 22:38
@weefuzzy weefuzzy self-assigned this Jan 23, 2026
@weefuzzy weefuzzy added the enhancement New feature or request label Jan 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants