From a64af3517cdf0ee3187b50a4778e37e39b3e04dc Mon Sep 17 00:00:00 2001 From: Julian Mayer Date: Thu, 17 Sep 2020 17:31:23 +0200 Subject: [PATCH] Change lockfile directory to /private/tmp/ so that it is cleared on reboot --- Sparkle/SUGlobalUpdateLock.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sparkle/SUGlobalUpdateLock.m b/Sparkle/SUGlobalUpdateLock.m index 45b90364..e4dadc18 100644 --- a/Sparkle/SUGlobalUpdateLock.m +++ b/Sparkle/SUGlobalUpdateLock.m @@ -59,7 +59,7 @@ - (NSString *)fileLockPath { - return [NSString stringWithFormat:@"/private/var/tmp/%@.Sparkle.pid", [self identifier]]; + return [NSString stringWithFormat:@"/private/tmp/%@.Sparkle.pid", [self identifier]]; } @end