Closed kekko7072 closed 1 year ago
On macOS platform auto_updater does not support sandbox mode yet, you need to disable it to use it.
Modify this file macos/Runner/Release.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>
- <true/>
+ <false/>
<key>com.apple.security.cs.allow-jit</key>
<false/>
<key>com.apple.security.device.usb</key>
<true/>
<key>com.apple.security.files.downloads.read-write</key>
<true/>
<key>com.apple.security.network.client</key>
<true/>
<key>com.apple.security.network.server</key>
<true/>
</dict>
</plist>
Also I tested your windows version and it seems to work fine, but the actual version number of the package with 1.1.0+10 in appcast.xml is still 1.0.0, so it keeps checking until newer version.
Please check and fix it
Thank you @lijy91 , now it's working. Can i ask you some question:
Hy i have this opensource app :https://github.com/kekko7072/lms. I have configured everything, but when I try windows it doesn't update it return an error and not updating.
I have all configured and signed (you can see the sign firm on the opensource project).
What is wrong? It return the error that it's not connected to internet, but the device it is. In macOS i have issue only on produciton, when i'm building the app with flutter i don't have this issue it update successfully. In production i have this: An error occurred while launching the installer. Please try again later.
Note: I'm using firebase hosting as deployment server.