1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Fixed an issue where the DemoRunner would not find any assets when opened manually on macOS

This commit is contained in:
hogliux 2018-03-16 10:10:18 +00:00
parent 7d451b984a
commit 1be7db03cd
2 changed files with 2 additions and 2 deletions

View file

@ -58,7 +58,7 @@ inline File getExamplesDirectory() noexcept
return mo.toString();
#else
auto currentFile = File::getSpecialLocation (File::SpecialLocationType::currentExecutableFile);
auto currentFile = File::getSpecialLocation (File::SpecialLocationType::currentApplicationFile);
auto exampleDir = currentFile.getParentDirectory().getChildFile ("examples");
if (exampleDir.exists())