mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-21 01:24:21 +00:00
Added code to make the mac detect its executable file, removing the need for the juce_setCurrentExecutable function, and removed this function from the codebase.
This commit is contained in:
parent
5df4ac7dec
commit
6fe090f2cb
10 changed files with 1696 additions and 1789 deletions
|
|
@ -53,7 +53,6 @@ BEGIN_JUCE_NAMESPACE
|
|||
#include "../../juce_core/threads/juce_InterProcessLock.h"
|
||||
#include "../../juce_core/misc/juce_PlatformUtilities.h"
|
||||
|
||||
void juce_setCurrentExecutableFileName (const String& filename) throw();
|
||||
void juce_setCurrentThreadName (const String& name) throw();
|
||||
|
||||
static JUCEApplication* appInstance = 0;
|
||||
|
|
@ -279,8 +278,6 @@ int JUCEApplication::main (int argc, char* argv[],
|
|||
const ScopedAutoReleasePool pool;
|
||||
#endif
|
||||
|
||||
juce_setCurrentExecutableFileName (String::fromUTF8 ((const uint8*) argv[0]));
|
||||
|
||||
String cmd;
|
||||
for (int i = 1; i < argc; ++i)
|
||||
cmd << String::fromUTF8 ((const uint8*) argv[i]) << T(' ');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue