mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Fixed a bug in the DemoRunner on Mac causing the demo code to not be displayed
This commit is contained in:
parent
527625b699
commit
92e5631968
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ void JUCEDemos::registerDemo (std::function<Component*()> constructorCallback, c
|
|||
{
|
||||
#if JUCE_MAC
|
||||
auto f = File::getSpecialLocation (File::currentExecutableFile)
|
||||
.getParentDirectory().getParentDirectory().getChildFile ("Resources").getChildFile (filePath);
|
||||
.getParentDirectory().getParentDirectory().getChildFile ("Resources");
|
||||
#else
|
||||
auto f = findExamplesDirectoryFromExecutable (File::getSpecialLocation (File::currentApplicationFile));
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue