mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-27 03:16:58 +00:00
Support running multiple instances on OS X (fix #533)
This commit is contained in:
parent
a8af9df74a
commit
7a4f4c9c5e
@ -226,8 +226,10 @@ int allegro_main(int argc, char *argv[], NSObject* app_delegate)
|
||||
__crt0_argc = argc;
|
||||
__crt0_argv = argv;
|
||||
|
||||
#if 0
|
||||
if (!osx_bootstrap_ok()) /* not safe to use NSApplication */
|
||||
call_user_main();
|
||||
#endif
|
||||
|
||||
[NSApplication sharedApplication];
|
||||
|
||||
|
@ -440,10 +440,12 @@ static int osx_sys_init(void)
|
||||
{
|
||||
long result;
|
||||
|
||||
#if 0
|
||||
/* If we're in the 'dead bootstrap' environment, the Mac driver won't work. */
|
||||
if (!osx_bootstrap_ok()) {
|
||||
return -1;
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Install emergency-exit signal handlers */
|
||||
old_sig_abrt = signal(SIGABRT, osx_signal_handler);
|
||||
|
Loading…
Reference in New Issue
Block a user