Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation for updates.json ? #88

Open
manast opened this issue Oct 25, 2021 · 8 comments
Open

Documentation for updates.json ? #88

manast opened this issue Oct 25, 2021 · 8 comments

Comments

@manast
Copy link

manast commented Oct 25, 2021

Hello,

I am a quite confused about how I should build my updates.json file, it is a dictionary with keys mapping to some values, but how should be the keys constructed so that proper key is mapped to proper version?

@manast
Copy link
Author

manast commented Oct 25, 2021

Could be something like: {target}-{arch}-{channel} ?

@megahertz
Copy link
Owner

@manast
Copy link
Author

manast commented Oct 31, 2021

@megahertz is there any property we can use to read out from the updater which key is using for checking for updates? i.e. some key that includes the {target}-{arch}-{channel} string. That would be quite useful for debugging since I cannot be 100% sure which key is using and since it is not updating I am just blind testing different namings.

@megahertz
Copy link
Owner

megahertz commented Nov 1, 2021

You can get the value using the updater.buildId property

@VynnykV
Copy link

VynnykV commented Aug 31, 2022

You can get the value using the updater.buildId property

Hi, why I'm getting Update for win32-x64-prod-v1.0.1 is not available
What does it mean?

@megahertz
Copy link
Owner

@VynnykV If you have already published an update that means somethings isn't configured properly and you app can't find the update. Feel free to post your updates.json and updater settings here, I'll check what's wrong.

@VynnykV
Copy link

VynnykV commented Sep 1, 2022

@VynnykV If you have already published an update that means somethings isn't configured properly and you app can't find the update. Feel free to post your updates.json and updater settings here, I'll check what's wrong.

I've tried to run your example, it displays nothing. I'm using it without electron-simple-publisher. What can be wrong?
image

@megahertz
Copy link
Owner

@VynnykV The example didn't work with the latest Electron. I just updated it for Electron 20.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants