Git Product home page Git Product logo

simple-java-updater-tool's Introduction

Simple-Java-Updater-Tool

External or built-in tool for autoupdateing of software.

Usage

Updater.jar then executed :

  1. read from config.json "version" and "server" fields
  2. then it download newconfig.json from using url provided in "server" field.
  3. it check equality of "version" fields and if there exist difference, further update proccess will be started.
  4. it will download files frm urls provided in urls.
  5. (optional) zip archives can be extracted
  6. (optional) md5 checksum can be compared for integrity checking.

Config.json fields

"version" = version number, build date, or any other integer value

"server" = url with newconfig.json correspond to server for updates, must contain encoded url

using tool like http://meyerweb.com/eric/tools/dencoder/ or something like that.

"md5" = md5 checksum or string "off" if no md5 checking needed.

"updaterUpdated" = if updater need to be updated itself, this flag must be set to true otherwise to false

"urls" = array of urls that need to be downloaded, every url need to be encoded, base correct syntax is :

"urls":["http%3A%2F%2Fexample%2Fupdate.zip","http%3A%2F%2Fexample%2Fupdate.zip","http%3A%2F%2Fexample%2Fupdate.zip"]

virtualy it dont have limit on how many files can be listed here.

#TODO Simple GUI

Make it work with simple url without need them to be encoded

Working start of external programm

simple-java-updater-tool's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.