Steps to release a new version:
Update get download url from saleculator.com/sumup/update/geturl
1. Zip all updated files into a file update.zip and upload to saleculator.com/update
   Can include a update.jar or update.sh file to control the update process.
2. Update the release notes in history.html file kept in saleculator.com/update
3. Change the version in version.html file kept in saleculator.com/update

The update process:
1. User clicks on Update Saleculator button.
2. Calls the UpdateSoftware class in JPrincipalApp
3. Which calls the Backup.updateSoftware method
4. Asks user confirmation whether to update from usb drive or online.
5. If update from usb drive selected, user selects jar file to update and run the command set in Script.UpdateSoftware in Saleculator.properties file.
6. For online update:
7. Checks for the latest version using Updater.getLatestVersion
8. If there is a version mismatch, system creates an update dialog, using UpdateInfo class, and shows version history
9. Upon clicking to the update button on update dialog, system calls the Updater.jar file.
10. Updater.jar file downloads update file from internet and unzips to the saleculator/update folder
11. If there is an update.jar file in the downloaded contents, it executes it.
11. If there is an update.sh file in the downloaded contents, it executes it.


Remote Files Used:
activateurl.html: This is the file where the url to the method for activating saleculator is kept.
history.html: Release notes of each version is kept in this file.
syncurl.html: URL to for sumup syncing is kept in this file.
updateurl.html: URL to the update file is kept in this file.
version.html: Latest version of application is kept in this file.
update.zip: This is the zipped file holding all updated files.

Release Note Templates
New Features
Dropped Features
Fixed Issues
Known Issues, Limitations & Restrictions


Dealer versions
"<html><center>" +
"Copyright \u00A9 2014 Posics<br>" +
"http://www.saleculator.com<br>" +
"<br>" +
"For getting help on using this software please visit http://help.saleculator.com<br>" +
"Or you can email to support@saleculator.com<br>" +
"</center>"
logo.png
pweredby.png


OXIPOS
"<html><center>" +
"Copyright \u00A9 2014 Oxipos<br>" +
"http://www.oxipos.com<br>" +
"<br>" +
"For getting help on using this software please visit http://help.oxipos.com<br>" +
"Or you can email to support@oxipos.com<br>" +
"</center>"