mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-30 05:28:50 +00:00
Fixing Bug #421608: "Update fails if more than one .app exists in the archive"
This commit is contained in:
1 parent
8ea15468b4
commit
e7435964a2
1 file changed
+2
-7
+2
-7
@@ -68,14 +68,9 @@
|
||||
}
|
||||
}
|
||||
|
||||
// Some DMGs have symlinks into /Applications! That's no good! And there's no point in looking in bundles.
|
||||
if ([self _isAliasFolderAtPath:currentPath] ||
|
||||
[[currentFile pathExtension] isEqualToString:[[host bundlePath] pathExtension]] ||
|
||||
[[currentFile pathExtension] isEqualToString:@"pkg"] ||
|
||||
[[currentFile pathExtension] isEqualToString:@"mpkg"])
|
||||
{
|
||||
// Some DMGs have symlinks into /Applications! That's no good!
|
||||
if ([self _isAliasFolderAtPath:currentPath])
|
||||
[dirEnum skipDescendents];
|
||||
}
|
||||
}
|
||||
|
||||
if (newAppDownloadPath == nil)
|
||||
|
||||
Reference in new issue
Block a user