Gut the osx launcher of everything except for the necessary platform shims (Ensure mono is installed, set DYLD_LIBRARY_PATH, Hide dock/menubar if running in fullscreen).
TODO: Parse the yaml to disable menubar only if running fullscreen, register openra:// urls.
This commit is contained in:
@@ -44,7 +44,12 @@ int main(int argc, char *argv[])
|
||||
sprintf(buf,"%s:%s",argv[2], old);
|
||||
setenv("DYLD_LIBRARY_PATH", buf, 1);
|
||||
}
|
||||
|
||||
|
||||
// Hide the menubar if we are running fullscreen
|
||||
// TODO: HACK: Parse the settings.yaml / commandline args for fullscreen options
|
||||
if (YES)
|
||||
[NSMenu setMenuBarVisible:NO];
|
||||
|
||||
/* Exec mono */
|
||||
execve(args[0], args, environ);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user