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:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user