Intermediate Update directory name contains the version number of the downloaded version

This commit is contained in:
Patrick Stein committed 2009-12-11 12:53:52 +01:00
1 parent 9b670b9ea7
commit 5f694f82af
1 file changed
+1 -1
+1 -1
View File
@@ -141,7 +141,7 @@
// We create a temporary directory in /tmp and stick the file there.
// Not using a GUID here because hdiutil (for DMGs) for some reason chokes on GUIDs. Too long? I really have no idea.
NSString *prefix = [NSString stringWithFormat:@"%@ %@ Update", [host name], [host version]];
NSString *prefix = [NSString stringWithFormat:@"%@ %@ Update", [host name], [updateItem versionString]];
NSString *desktopFolder = [@"~/Desktop" stringByExpandingTildeInPath];
NSString *tempDir = [desktopFolder stringByAppendingPathComponent:prefix];
int cnt=1;