source:
releases/Pester/1.1b6/Source/Sparkle.diff@
654
Last change on this file since 654 was 361, checked in by , 17 years ago | |
---|---|
|
|
File size: 1.3 KB |
-
Sparkle/en.lproj/Sparkle.strings
53 53 "Installingupdate..."="Installingupdate...";54 54 55 55 /*Nocommentprovidedbyengineer.*/56 "No"="Don'tcheck";56 "No" = "Don't Check"; 57 57 58 58 /*Nocommentprovidedbyengineer.*/59 59 "OK"="OK"; -
Sparkle/SUAppcastItem.m
57 57 { 58 58 // Separate the url by underscores and take the last component, as that'll be closest to the end, 59 59 // then we remove the extension. Hopefully, this will be the version. 60 NSArray *fileComponents = [[enclosure objectForKey:@"url"] componentsSeparatedByString:@" _"];60 NSArray *fileComponents = [[enclosure objectForKey:@"url"] componentsSeparatedByString:@"-"]; 61 61 if ([fileComponents count] > 1) 62 62 newVersion = [[fileComponents lastObject] stringByDeletingPathExtension]; 63 63 }
Note:
See TracBrowser
for help on using the repository browser.