From 8c67631efb50af65c6dc3752a2cc057c315db8e4 Mon Sep 17 00:00:00 2001 From: Uli Kusterer Date: Fri, 4 Dec 2009 09:06:55 +0100 Subject: [PATCH] Use installPath, not bundlePath here. --- SUPlainInstaller.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SUPlainInstaller.m b/SUPlainInstaller.m index 5edce009..7a5bef17 100644 --- a/SUPlainInstaller.m +++ b/SUPlainInstaller.m @@ -59,7 +59,7 @@ NSString *SUInstallerErrorKey = @"SUInstallerError"; return; } - NSString *targetPath = [host bundlePath]; + NSString *targetPath = [host installationPath]; NSString *tempName = [self temporaryNameForPath:targetPath]; NSDictionary *info = [NSDictionary dictionaryWithObjectsAndKeys:path, SUInstallerPathKey, targetPath, SUInstallerTargetPathKey, tempName, SUInstallerTempNameKey, host, SUInstallerHostKey, delegate, SUInstallerDelegateKey, nil]; if (synchronously)