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:
parent
7d451b984a
commit
1be7db03cd
2 changed files with 2 additions and 2 deletions
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue