updaterService

updaterService

new updaterService($log, $rootScope)

Source:
Parameters:
Name Type Description
$log service

Logging for angularjs

$rootScope service

Root Scope

Methods

(static) getUpdateDetails() → {UpdateDeatils}

Get the details for the update

Source:
Returns:
Type:
UpdateDeatils

Deatils of the update

(static) hasUpdate() → {bool}

Check if there is an update available

Source:
Returns:
Type:
bool

True if there is an update available, false otherwise.

(static) start()

Start the updater and sets listeners for the update events.

Source:

(static) updateRestart()

Update and restart HCCGo

Source: