From 32d57892a2b136e0afe45596aa5169e531e474e5 Mon Sep 17 00:00:00 2001 From: probablycorey Date: Fri, 1 Mar 2013 16:58:31 -0800 Subject: [PATCH] Use correct resource path in dev mode --- native/atom_window_controller.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/atom_window_controller.mm b/native/atom_window_controller.mm index 1fdcc720b..cdf7355e3 100644 --- a/native/atom_window_controller.mm +++ b/native/atom_window_controller.mm @@ -34,7 +34,7 @@ _resourcePath = [atomApplication.arguments objectForKey:@"resource-path"]; if (!alwaysUseBundleResourcePath && !_resourcePath) { - NSString *defaultRepositoryPath = @"~/github/atom"; + NSString *defaultRepositoryPath = [@"~/github/atom" stringByStandardizingPath]; if ([defaultRepositoryPath characterAtIndex:0] == '/') { BOOL isDir = false; BOOL exists = [[NSFileManager defaultManager] fileExistsAtPath:defaultRepositoryPath isDirectory:&isDir];