mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Force sandbox config saves
This commit is contained in:
parent
9a774553ae
commit
3c76dad454
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue