Page 1 of 1

GetLibraryPath() On MacOs Appear To Return The Wrong Path

Posted: Thu Jan 20, 2022 1:02 pm
by muleskinner
Hi,

According to the docs GetLibraryPath() should return the location where modules, presets and logs are stored. It doesn't on my machine. I get..

/Library/Application Support/Voltage

...instead of

~/Library/Application Support/Voltage (ie the user-specific path)

The first path exists but it doesn't contain 'modules, presets and logs', only lib and jar files.

Re: GetLibraryPath() On MacOs Appear To Return The Wrong Path

Posted: Sun Dec 11, 2022 11:17 pm
by Waverley Instruments
I've just tested this - still an issue on macOS :cry:

Re: GetLibraryPath() On MacOs Appear To Return The Wrong Path

Posted: Wed Dec 28, 2022 4:59 pm
by Waverley Instruments
I totally forget the tilde thing on Mac :oops:

So append that, and you're good. E.g.

Code: Select all

Log("~" + GetLibraryPath());