Closed bclausdorff closed 8 months ago
Apologies.
It works with UNITY_STANDALONE_OSX
alone when one has set the platform to macOS
in the Build Settings
.
I think your fix is still valid because as you've demonstrated, the plugin doesn't work properly when target platform isn't set to macOS in OSX editor.
You're right. The behaviour is unexpected in the Editor. Thank you. I'm reopening the PR. :)
So whether #if UNITY_STANDALONE_OSX
is true
depends only on which target platform is set in the Build Settings (regardless of which platform the Editor is running on).
Which means that it will also be true
when setting macOS as the build target on a Windows machine.
Which itself is leading to buggy Quick Links on Windows.
This behaviour already exists on the current main branch. I will adjust the PR to also fix these as well.
Is unaffected of the changes and looks as expected.
@yasirkula I squashed a fix for Windows into the existing commit. Please have another look. :)
Awesome! I got sick this week, hence the delay 😞
There are code blocks wrapped by
UNITY_STANDALONE_OSX
to only work on OSX. But to make them also work in the Unity Editor on macOS, a check forUNITY_EDITOR_OSX
needs to be added as well.1. Filter quick link section from too many macOS drives
Before
After
2. Documents quick link should lead into actual
~/Documents
folderBefore
After
3. Add user folder to quick link section