From 14e6fb343a7baad7b82a21784e76e6ca9042db4f Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Tue, 16 Sep 2003 05:17:22 +0000 Subject: [PATCH] Put the 'files' directory in the main bundle's Resources directory so the user is presented with a single Installer application. --- stepmania/PBProject/Installer/InstallerWindowController.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/PBProject/Installer/InstallerWindowController.m b/stepmania/PBProject/Installer/InstallerWindowController.m index ff5b24fb8c..037c50e751 100644 --- a/stepmania/PBProject/Installer/InstallerWindowController.m +++ b/stepmania/PBProject/Installer/InstallerWindowController.m @@ -3,8 +3,8 @@ @implementation InstallerWindowController - (void)awakeFromNib { - NSString *path = [[[[[NSBundle mainBundle] bundlePath] stringByDeletingLastPathComponent] - stringByAppendingPathComponent:@"files"] stringByStandardizingPath]; + NSString *path = [[[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:@"files"] + stringByStandardizingPath]; helper = [[Helper alloc] initWithPath:path]; finished = NO; }