leanflutter / auto_updater

This plugin allows Flutter desktop apps to automatically update themselves (based on sparkle and winsparkle).
MIT License
278 stars 38 forks source link

Update Error! #54

Closed yuhaya closed 1 year ago

yuhaya commented 1 year ago

macos

An error occurred in retrieving update information. Please try again later.

appcast.xml

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle">
    <channel>
        <title>auto_updater_example</title>
        <description>Most recent updates to auto_updater_example</description>
        <language>en</language>
        <item>
            <title>Version 0.0.2</title>
            <sparkle:releaseNotesLink>
                https://xx.com/whatscrm/release_notes.html
            </sparkle:releaseNotesLink>
            <pubDate>Sun, 16 Feb 2023 12:00:00 +0800</pubDate>
            <enclosure url="http://product.xrobot.tech/static/public/1.1.0+2/whatscrm-1.1.0+2-macos.zip"
                       sparkle:edSignature="wJx6oRbYZS7m/RcuwVG3me0lh4usB7EFV2IictdIBhXbRHIVvvG6M5Z15GhUfTq0Hg3W1hSsCNWecD0IlLRyDQ=="
                       sparkle:version="0.0.2"
                       sparkle:os="macos"
                       length="61656315"
                       type="application/octet-stream" />
        </item>
        <item>
            <title>Version 1.1.0</title>
            <sparkle:releaseNotesLink>
                https://www.xrobot.tech/whatscrm/release_notes.html
            </sparkle:releaseNotesLink>
            <pubDate>Sun, 16 Feb 2022 12:00:00 +0800</pubDate>
            <enclosure url="1.1.0+2/whatscrm-1.1.0+2-windows.exe"
                       sparkle:dsaSignature="MEUCIQCVbVzVID7H3aUzAY5znpi+ySZKznkukV8whlMFzKh66AIgREUGOmvavlcg6hwAwkb2o4IqVE/D56ipIBshIqCH8rk="
                       sparkle:version="1.1.0+2"
                       sparkle:os="windows"
                       length="0"
                       type="application/octet-stream" />
        </item>
    </channel>
</rss>

entitlements

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>com.apple.security.app-sandbox</key>
    <false/>
    <key>com.apple.security.temporary-exception.mach-register.global-name</key>
    <string>com.apple.screencapture.interactive</string>
    <key>com.apple.security.network.client</key>
    <true/>
    <key>com.apple.security.network.server</key>
    <true/>
    <key>com.apple.security.personal-information.location</key>
    <true/>
    <key>keychain-access-groups</key>
    <array/>
</dict>
</plist>