Force sandbox config saves

This commit is contained in:
Atlante45 2016-11-07 10:42:59 -08:00
parent 9a774553ae
commit 3c76dad454

View file

@ -623,6 +623,7 @@ function checkNewContent() {
} else {
// They don't want to update, mark content set as current
userConfig.set('homeContentLastModified', new Date());
userConfig.save(configPath);
}
});
}
@ -676,6 +677,7 @@ function maybeInstallDefaultContentSet(onComplete) {
}
log.debug('Copied home content over to: ' + getRootHifiDataDirectory());
userConfig.set('homeContentLastModified', new Date());
userConfig.save(configPath);
onComplete();
});
return;
@ -756,6 +758,7 @@ function maybeInstallDefaultContentSet(onComplete) {
// response and decompression complete, return
log.debug("Finished unarchiving home content set");
userConfig.set('homeContentLastModified', new Date());
userConfig.save(configPath);
sendStateUpdate('complete');
});
@ -766,6 +769,7 @@ function maybeInstallDefaultContentSet(onComplete) {
});
userConfig.set('hasRun', true);
userConfig.save(configPath);
});
}