mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 13:18:38 +02: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 {
|
} else {
|
||||||
// They don't want to update, mark content set as current
|
// They don't want to update, mark content set as current
|
||||||
userConfig.set('homeContentLastModified', new Date());
|
userConfig.set('homeContentLastModified', new Date());
|
||||||
|
userConfig.save(configPath);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -676,6 +677,7 @@ function maybeInstallDefaultContentSet(onComplete) {
|
||||||
}
|
}
|
||||||
log.debug('Copied home content over to: ' + getRootHifiDataDirectory());
|
log.debug('Copied home content over to: ' + getRootHifiDataDirectory());
|
||||||
userConfig.set('homeContentLastModified', new Date());
|
userConfig.set('homeContentLastModified', new Date());
|
||||||
|
userConfig.save(configPath);
|
||||||
onComplete();
|
onComplete();
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
|
@ -756,6 +758,7 @@ function maybeInstallDefaultContentSet(onComplete) {
|
||||||
// response and decompression complete, return
|
// response and decompression complete, return
|
||||||
log.debug("Finished unarchiving home content set");
|
log.debug("Finished unarchiving home content set");
|
||||||
userConfig.set('homeContentLastModified', new Date());
|
userConfig.set('homeContentLastModified', new Date());
|
||||||
|
userConfig.save(configPath);
|
||||||
sendStateUpdate('complete');
|
sendStateUpdate('complete');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -766,6 +769,7 @@ function maybeInstallDefaultContentSet(onComplete) {
|
||||||
});
|
});
|
||||||
|
|
||||||
userConfig.set('hasRun', true);
|
userConfig.set('hasRun', true);
|
||||||
|
userConfig.save(configPath);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue