leanflutter / auto_updater

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

Update Error #24

Closed MezoPeeta closed 2 years ago

MezoPeeta commented 2 years ago

Here's my appcast.xml

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle">
    <channel>
        <title>example</title>
        <description>Recet updates with new features</description>
        <language>en</language>
        <item>
            <title>Version 6.8.0</title>
            <sparkle:releaseNotesLink>
                https://your_domain/your_path/release_notes.html
            </sparkle:releaseNotesLink>
            <pubDate>Fri, 06 Feb 2016 22:49:00 +0100</pubDate>
            <enclosure url="6.8.0+17\example-6.8.0+17-windows-setup.exe"
                       sparkle:dsaSignature="MEUCIHQYwAFgAa8Yi/bLGh4w2pSSN1agkj5pXhpZgPFgXo8jAiEAkd+kQV1PF6w78S2athd67FrAWigWPjkzZ4CtL6zpacc="
                       sparkle:os="windows"
                       sparkle:version="1.5.5880"
                       length="0"
                       type="application/octet-stream" />
        </item>
    </channel>
</rss>

I've tried changing version in Runner.rc but still not fixed

here's my main.dart

    String feedURL =
        'https://drive.google.com/file/d/****-sharing';
    await autoUpdater.setFeedURL(feedURL);
    await autoUpdater.checkForUpdates();
MezoPeeta commented 2 years ago

Fixed it , It doesn't work with google Drive , u need to host it somewhere and I hosted It on my REST API

novas1r1 commented 1 year ago

@MezoPeeta did you manage to make this work with mac as well or was it only a windows application?