Added a 'Check for updates' menu bar item.
Added latest version number decoding from a .php file
that has the version number encoded in the same
way that JUCE has.
Got most of the updater code working, though I think
I need to launch the childprocess in it's own thread
so I can quit AlphaLive asyncronously.
Updated updateSoftware() function into a working state.
Settled on using File::startAsProcess() to launch the
alphaliveUpdater exe, instead of a ChildProcess
that is terminated when AlphaLive is closed.
Corrected Win32 files path.
Linked the software to the new AlphaLive Updater
application correctly.
Moved all the update software code to
MainComponent so we can change the GUI
throughout more easily.
Added JUCEApplication::quit() to close
AlphaLive before AlphaLive Updater
is launched.
Added a new class for handling the update download
process that also updates the GUI based on this.
Improved where it checks to see if the AlphaLive app
actually exists and alerts the user if not. Fixed the
situation where the users internet connection could
drop whilst downloading the update and correctly
alerts the user of this and cancels the update
process.
Added the prefs option to auto-check for updates at launch.
Though I need to trigger this auto check asynchronously and
not check for firmware updates if there is a software update.
Set it so that on launch the firmware update check
is only done if a software update is currently taking
place. Increased some thread time-out times.
Merge branch 'feat_software_updater'
Updated visual studio project.
Set all pads to kill on app close.
Rearranged the order within the JUCEApplication::shutdown()
function to help prevent crashes on close.
Changed the way in which the HidComms class
sleeps in between trying to connect to the device,
to hopefully prevent assertion failures when
closing the app with no device plugged in as well
as on force closes such as when software updates
are being applied.
Added some 'if (mainComponent != NULL)' checks
to help prevent crashes on app close.
Now manually stopping the HID thread before closing
AlphaLive in the software updating process to help prevent
crashes due to killing the thread by force.
Stopping HID thread from the beginning of the AlphaLiveEngine
deconstructer to help prevent crashes on app close.