mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
If there is a RESOURCE_PATH defined, open that by default
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user