diff --git PreferencesController.m PreferencesController.m index 1103e39..76a77a7 100644 --- PreferencesController.m +++ PreferencesController.m @@ -15,6 +15,7 @@ - (IBAction)selectPKGPath:(id)sender { NSOpenPanel *openPanel = [NSOpenPanel openPanel]; [openPanel setCanChooseFiles:NO]; [openPanel setCanChooseDirectories:YES]; + [openPanel setShowsHiddenFiles:YES]; NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults]; NSInteger result = [openPanel runModalForDirectory:[defaults objectForKey:@"NSNavLastCurrentDirectory"] file:nil types:nil]; if(result == NSOKButton) { @@ -37,7 +38,7 @@ - (IBAction)selectPKGPath:(id)sender { defaultButton:@"OK" alternateButton:nil otherButton:nil - informativeTextWithFormat:@"You have to use the directory where macports1.0 was installed by MacPorts.\n\nGenerally it should be /Library/Tcl"]; + informativeTextWithFormat:@"You have to use the directory where macports1.0 was installed by MacPorts.\n\nGenerally it should be /opt/local/libexec/macports/lib"]; [alert runModal]; } }