Closed rizwan92 closed 2 years ago
my backend hazel server is returning the Release file to update the squirrel application actually, my repository is private so I am using the hazel server as a proxy to server RELEASE files from my private repository to electron app
directCache [ 'exe', 'dmg', 'rpm', 'deb', 'AppImage' ]
directCache [ 'exe', 'dmg', 'rpm', 'deb', 'AppImage' ]
Finished caching version 1.0.0
releases {
version: '1.0.0',
notes: null,
pub_date: '2022-10-21T13:06:27Z',
platforms: {
exe: {
name: 'chikupos-Setup-1.0.0.exe',
api_url: 'https://api.github.com/repos/rizwan92/chikupos-software-update/releases/assets/81806373',
url: 'https://github.com/rizwan92/chikupos-software-update/releases/download/1.0.0/chikupos-Setup-1.0.0.exe',
content_type: 'application/octet-stream',
size: 103
}
},
files: {
RELEASES: 'F2CCE1CA5E1E6060FBC2312E9A33DDC3598C034B https://api.github.com/repos/rizwan92/chikupos-software-update/releases/assets/81806374 101743115'
}
}
Your releases file is invalid - the 2nd item needs to be a filename, not an arbitrary URL. I would recommend simply uploading your files to a static file host (you can actually even use Vercel itself, which is great because you get HTTPS for free and a CDN) and not try to write your own RELEASES file
Squirrel version(s) Which version(s) of the project are you using? electron forge
Description Not able to update my squirrel electron application
Steps to recreate
Expected behavior it must have updated in the background
Actual behavior its throws an error
Additional information
I have electron.js file
and hazel server running in vercel fetching my release from github repostitory image is attched .
after 60 seconds i am facing an error image is attached i am usinf electron forge with gihub publish package to publish my release