module.exports = cc.Class({
    extends: cc.Component,

    properties: {
        info: cc.Label,
        fileProgress: cc.ProgressBar,
        fileLabel: cc.Label,
        byteProgress: cc.ProgressBar,
        byteLabel: cc.Label,
        close: cc.Node,
        checkBtn: cc.Node,
        retryBtn: cc.Node,
        updateBtn: cc.Node
    },
    
    onLoad () {
        this.close.on(cc.Node.EventType.TOUCH_END, function () {
            // this.node.parent.active = false;
            cc.game.restart();
        }, this);
    },
});

// if (cc.sys.isNative) {
//     var hotUpdateSearchPaths = cc.sys.localStorage.getItem('HotUpdateSearchPaths');
//     if (hotUpdateSearchPaths) {
//         jsb.fileUtils.setSearchPaths(JSON.parse(hotUpdateSearchPaths));
//     }
// }
