From 77ce7c19e93b9f6eaedf37731b103e7404c9c826 Mon Sep 17 00:00:00 2001 From: Takayama Fumihiko Date: Sun, 11 Aug 2013 16:54:38 +0900 Subject: [PATCH] finish_installation.app and pkg files will not removed when we use *.pkg installer and restart system in the installer. In this case, "Application Support" directory is corrupted by unnecessary pkg files. We need to scan files under "Application Support" directory and examine whether pkg file or not. It is quite annoying. Therefore, this patch changes location of finish_installation.app and pkg files to "~/Library/Application Support/APPNAME/.Sparkle". Then, we can remove finish_installation.app and pkg files certainly. --- SUHost.m | 1 + 1 file changed, 1 insertion(+) diff --git a/SUHost.m b/SUHost.m index e12af606..ea847213 100644 --- a/SUHost.m +++ b/SUHost.m @@ -65,6 +65,7 @@ else appSupportPath = [appSupportPaths objectAtIndex:0]; appSupportPath = [appSupportPath stringByAppendingPathComponent:[self name]]; + appSupportPath = [appSupportPath stringByAppendingPathComponent:@".Sparkle"]; return appSupportPath; }