loginarray = [[loginwindow objectForKey:@"AutoLaunchedApplicationDictionary"] mutableCopy];
if (flag) {
- FSRef fileRef;
+ /*FSRef fileRef;
AliasHandle alias;
NSData *aliasData;
FSPathMakeRef([path UTF8String], &fileRef, NULL);
FSNewAlias(NULL, &fileRef, &alias);
- aliasData = [NSData dataWithBytes:&alias length:GetHandleSize((Handle)alias)];
+ aliasData = [NSData dataWithBytes:&alias length:GetHandleSize((Handle)alias)];*/
if (!loginarray) { //If there is no loginarray of autolaunch items, create one
loginarray = [[[NSMutableArray alloc] init] autorelease];
NSDictionary *itemDict = [NSDictionary dictionaryWithObjectsAndKeys:
[[NSBundle mainBundle] bundlePath], @"Path",
[NSNumber numberWithInt:0], @"Hide",
- aliasData, @"AliasData", nil, nil];
+ [NSData data], @"AliasData", nil, nil];
[loginarray addObject:itemDict];
} else {
int i;