If there is a RESOURCE_PATH defined, open that by default

This commit is contained in:
Corey Johnson 2012-08-30 10:18:01 -07:00
parent 6cb10a0855
commit b31589d6df

View File

@ -61,7 +61,11 @@
- (void)applicationWillFinishLaunching:(NSNotification *)notification {
_backgroundWindowController = [[AtomWindowController alloc] initInBackground];
#ifdef RESOURCE_PATH
[self open:[NSString stringWithUTF8String:RESOURCE_PATH]];
#else
[self open:nil];
#endif
}
- (void)applicationWillTerminate:(NSNotification *)notification {