mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
Merge pull request #80 from Uncommon/url
Replace 10.7 API with 10.6 API
This commit is contained in:
@@ -1618,7 +1618,6 @@
|
||||
LIBRARY_SEARCH_PATHS = "";
|
||||
ONLY_ACTIVE_ARCH = YES;
|
||||
PRODUCT_NAME = GitX;
|
||||
SDKROOT = "";
|
||||
WRAPPER_EXTENSION = app;
|
||||
ZERO_LINK = YES;
|
||||
};
|
||||
@@ -1646,7 +1645,6 @@
|
||||
INSTALL_PATH = "$(HOME)/Applications";
|
||||
LIBRARY_SEARCH_PATHS = "";
|
||||
PRODUCT_NAME = GitX;
|
||||
SDKROOT = "";
|
||||
WRAPPER_EXTENSION = app;
|
||||
};
|
||||
name = Release;
|
||||
@@ -1665,7 +1663,7 @@
|
||||
INFOPLIST_PREPROCESS = YES;
|
||||
MACOSX_DEPLOYMENT_TARGET = 10.5;
|
||||
PREBINDING = NO;
|
||||
SDKROOT = macosx10.5;
|
||||
SDKROOT = macosx10.6;
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
@@ -1682,7 +1680,7 @@
|
||||
INFOPLIST_PREPROCESS = YES;
|
||||
MACOSX_DEPLOYMENT_TARGET = 10.5;
|
||||
PREBINDING = NO;
|
||||
SDKROOT = macosx10.5;
|
||||
SDKROOT = macosx10.6;
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
|
||||
+2
-2
@@ -37,9 +37,9 @@
|
||||
[view setResourceLoadDelegate:self];
|
||||
|
||||
NSURL *resourceURL = [[[NSBundle mainBundle] resourceURL] URLByStandardizingPath];
|
||||
NSURL *baseURL = [[resourceURL URLByAppendingPathComponent:@"html/views" isDirectory:YES] URLByAppendingPathComponent:startFile isDirectory:YES];
|
||||
NSURL *baseURL = [[resourceURL URLByAppendingPathComponent:@"html/views"] URLByAppendingPathComponent:startFile];
|
||||
|
||||
NSURL *fileURL = [baseURL URLByAppendingPathComponent:@"index.html" isDirectory:NO];
|
||||
NSURL *fileURL = [baseURL URLByAppendingPathComponent:@"index.html"];
|
||||
[[view mainFrame] loadRequest:[NSURLRequest requestWithURL:fileURL]];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user