You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sparkle has two ways to handle the Feed URL, you can set SUFeedURL in the info plist or you can call [[SUUpdater sharedUpdater] setFeedURL:[NSURL URLWithString:string]];
If I use the atom-shell api to set the URL like this autoUpdater.setFeedUrl 'https://localhost:8000/using-set-feed.xml' the updating works great!
But fails if I set the SUFeedURL in the info.plist like this
The strange thing is, if I have SUFeedURL set and I remove the call to autoUpdater.setFeedUrl it has somehow cached the previous feed url (https://localhost:8000/using-set-feed.xml in this case)
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/33#issuecomment-20322037
.
Activity
zcbenz commentedon Jun 21, 2013
The
autoUpdater.setFeedUrlis just a thin wrap around[SUUpdater sharedUpdater] setFeedURL:, so this is indeed an issue of Sparkle.The feed url set by
setFeedURLwill be remembered inNSUserDefaults, and when reading the feed url, Sparkle would first checkNSUserDefaults, and if it finds one, it would use the found one instead of the one specified inInfo.plist:https://github.com/aroben/Sparkle/blob/master/SUUpdater.m#L427
So once you used
setFeedURL,SUFeedURLinInfo.plistwill never work.Setting the right feed url with
setFeedUrlagain could fix this, or maybe we should patch Sparkle so it doesn't checkNSUserDefaults?zcbenz commentedon Jul 2, 2013
@probablycorey is this still a problem for you?
probablycorey commentedon Jul 2, 2013
With your help I was able to find a work around.
On Monday, July 1, 2013, Cheng Zhao wrote:
Merge pull request #33 from brightray/linux
Merge pull request #33 from brightray/linux
Merge pull request #33 from nornagon/build-gn