src/extensions/default/AutoUpdate/main.js
function setupAutoUpdate() {
        updateJsonHandler = new StateHandler(updateJsonPath);
        updateDomain.on('data', receiveMessageFromNode);

        updateDomain.exec('initNode', {
            messageIds: MessageIds,
            updateDir: updateDir,
            requester: domainID
        });
    }
function setupAutoUpdate() {
        updateJsonHandler = new StateHandler(updateJsonPath);
        updateDomain.on('data', receiveMessageFromNode);

        updateDomain.exec('initNode', {
            messageIds: MessageIds,
            updateDir: updateDir,
            requester: domainID
        });
    }
function setupAutoUpdate ( ) { updateJsonHandler = new StateHandler ( updateJsonPath ) ; updateDomain . on ( 'data' , receiveMessageFromNode ) ; updateDomain . exec ( 'initNode' , { messageIds : MessageIds , updateDir : updateDir , requester : domainID } ) ; }
Sets up the Auto Update environment
Sets up the Auto Update environment