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:
parent
9fd0feec7d
commit
231e1b015e
1 changed files with 10 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue