diff --git a/Sparkle.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Sparkle.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 00000000..18d98100 --- /dev/null +++ b/Sparkle.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/generate_appcast/ArchiveItem.swift b/generate_appcast/ArchiveItem.swift index 49d1eba6..4978bbfb 100644 --- a/generate_appcast/ArchiveItem.swift +++ b/generate_appcast/ArchiveItem.swift @@ -95,8 +95,8 @@ class ArchiveItem: CustomStringConvertible { if let feedURLStr = infoPlist["SUFeedURL"] as? String { feedURL = URL(string: feedURLStr); if feedURL?.pathExtension == "php" { - let feedFileAndExtention = feedURL?.lastPathComponent + "." + feedURL?.pathExtension as? String - feedURL = URL(string: feedURL?.absoluteString.replacingOccurrences(of: feedFileAndExtention, with: "appcast.xml")) + feedURL?.deletingLastPathComponent() + feedURL?.appendingPathComponent("appcast.php") } }