mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-25 04:47:55 +00:00
Merge pull request #1458 from BitShift-Tech/appcast-generation-file-extention
SUFeedUrl generate appcast file extension (let fix)
This commit is contained in:
1 file changed
+4
-3
@@ -93,9 +93,10 @@ class ArchiveItem: CustomStringConvertible {
|
||||
|
||||
var feedURL:URL? = nil;
|
||||
if let feedURLStr = infoPlist["SUFeedURL"] as? String {
|
||||
if let feedURL = URL(string: feedURLStr), feedURL.pathExtension == "php" {
|
||||
feedURL = feedURL.deletingLastPathComponent()
|
||||
feedURL = feedURL.appendingPathComponent("appcast.xml")
|
||||
feedURL = URL(string: feedURLStr)
|
||||
if feedURL?.pathExtension == "php" {
|
||||
feedURL = feedURL!.deletingLastPathComponent()
|
||||
feedURL = feedURL!.appendingPathComponent("appcast.xml")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user