1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-02 03:20:06 +00:00

Setting installed app execute permissions.

This commit is contained in:
jules 2014-11-12 14:56:28 +00:00
parent 9fd0feec7d
commit 231e1b015e

View file

@ -399,7 +399,17 @@ private:
JUCEApplication::quit();
if (app.exists())
{
app.setExecutePermission (true);
#if JUCE_MAC
app.getChildFile("Contents")
.getChildFile("MacOS")
.getChildFile("Introjucer").setExecutePermission (true);
#endif
app.startAsProcess();
}
delete this;
}