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];