GetLibraryPath() On MacOs Appear To Return The Wrong Path

Post Reply
muleskinner
Posts: 10
Joined: Tue Aug 04, 2020 11:02 am

GetLibraryPath() On MacOs Appear To Return The Wrong Path

Post 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.
User avatar
Waverley Instruments
Posts: 147
Joined: Thu May 05, 2022 2:10 pm

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

Post by Waverley Instruments »

I've just tested this - still an issue on macOS :cry:
User avatar
Waverley Instruments
Posts: 147
Joined: Thu May 05, 2022 2:10 pm

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

Post 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()); 
Post Reply

Return to “Module Designer”