mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-27 05:04:27 +00:00
Update ArchiveItem.swift
feedURl was a let and therefore not assignable
This commit is contained in:
1 parent
fedb22e224
commit
2657a41d55
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