简体   繁体   中英

How to warn users that new version is available?

How can I warn users that a new version of my program is available?

I'm planning on releasing my desktop app as a .jar file through github, and I'd like to do a simple check each time a user starts the app to check if a new version is available.

How can I do this?

Sorry if this seems like a stupid question. I tried googling for it but I could only find results for mobile stuff. It's my first time release an actual app to the public ^^'

Alongside your executable/jar file, you can have a simple text file (eg version.txt) that you can download and read. Have your program start with a launcher that compares that version to the local version, if not the same? Download, then run.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM