From 5f694f82af9b2e12987fe5051ecfe2cbea3e0ca1 Mon Sep 17 00:00:00 2001 From: Patrick Stein Date: Fri, 11 Dec 2009 12:53:52 +0100 Subject: [PATCH] Intermediate Update directory name contains the version number of the downloaded version --- SUBasicUpdateDriver.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SUBasicUpdateDriver.m b/SUBasicUpdateDriver.m index 86b623fc..31b10339 100644 --- a/SUBasicUpdateDriver.m +++ b/SUBasicUpdateDriver.m @@ -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;