Strange incorrect Platform paths

Hey all, happy new year—

When I evaluate Platform.resourceDir, SC returns

/private/var/folders/yy/w7z_j4gs6z3bzxrhx4bbv29h0000gn/T/AppTranslocation/B02DC55E-C623-4B5B-8551-72ED2788FA1E/d/SuperCollider.app/Contents/Resources

I’m temporarily on a spare laptop while my primary is having its battery replaced. The spare was recently wiped clean, and I did not transfer any files from my primary. The spare is running macOS 10.14.16 and SC 3.10.3. A similar thing happens when I evaluate other Platform methods that return paths.

Anyone know what might be causing this, or how I might try to fix it?

Edit: I should clarify that these Platform methods seem to be working correctly:

Platform.userHomeDir
Platform.userConfigDir
Platform.userExtensionDir
Platform.userAppSupportDir
Platform.systemExtensionDir
Platform.systemAppSupportDir
Platform.recordingsDir

But these are producing the strange behavior described above:

Platform.classLibraryDir
Platform.resourceDir

Eli

It’s not a SuperCollider bug – it’s a macOS feature.

Here’s a discussion for other software:

“Starting with macOS Sierra (10.12), any application distributed outside the Mac App Store runs from a randomized path.”

hjh

…disgusting!

a good tip inside that link though - thanks

That fixed it. Thank you James!

Eli