Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

How to attach release notes for electron's autoUpdater? #86

Open
plrthink opened this issue Dec 2, 2015 · 2 comments
Open

How to attach release notes for electron's autoUpdater? #86

plrthink opened this issue Dec 2, 2015 · 2 comments

Comments

@plrthink
Copy link

plrthink commented Dec 2, 2015

How to attach release notes? Do we have this feature now? Though it says release notes is not available for windows in electron's autoUpater docs, but I do find the code in electron's repo which get release notes from a json outputed by Squirrel.Windows at this line:

{releaseNotes, version} = update

and I find following lines seems like a test file (Sorry I'm not sure because I have no previous knowledge on Windows development) in Squirrel.Windows:

<releaseNotes>
## Release Notes for 1.1

1. Did some cool stuff
1. Did another thing
1. Did a third thing, pretty crazy!

Make *sure* to refrobulate the confabulator or **terrible things will happen!**
</releaseNotes>

So, if we don't support attach release notes for updates yet, is it possible to add a releaseNotes field to template.nuspec at root folder of this repo and replace its content when building a NuGet package? Or it has already supported this but I can't find that?

@plrthink plrthink changed the title How to attach release notes for electron' autoUpdater? How to attach release notes for electron's autoUpdater? Dec 3, 2015
@plrthink
Copy link
Author

plrthink commented Dec 4, 2015

I have tried this idea it works but since Squirrel.Windows parse the release notes as markdown to html, the generated notes would have a bunch of html tags. It's fine for populate a browser window to user with the html text, but I'm using electron's dialog module to notify users there's a update and it can't pares html content. Any ideas?

@havenchyk
Copy link
Contributor

@plrthink have you solved this problem? Maybe it makes sense to add the info to readme, what do you think?

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

No branches or pull requests

2 participants