Put the 'files' directory in the main bundle's Resources directory so the user is presented with a single Installer application.

This commit is contained in:
Steve Checkoway
2003-09-16 05:17:22 +00:00
parent 60a871439c
commit 14e6fb343a
@@ -3,8 +3,8 @@
@implementation InstallerWindowController @implementation InstallerWindowController
- (void)awakeFromNib - (void)awakeFromNib
{ {
NSString *path = [[[[[NSBundle mainBundle] bundlePath] stringByDeletingLastPathComponent] NSString *path = [[[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:@"files"]
stringByAppendingPathComponent:@"files"] stringByStandardizingPath]; stringByStandardizingPath];
helper = [[Helper alloc] initWithPath:path]; helper = [[Helper alloc] initWithPath:path];
finished = NO; finished = NO;
} }