mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-07 06:40:54 +00:00
4.0.0-rc15
* Added: Data Management > Backup and Restore * Added: Option to expand merged mass sub gift messages by default. * Added: Option to hide the Discover link in the top navigation bar. * Changed: Use icons for navigation of the emote menu. Fix padding as well. * Fixed: Player problems on Squad Streams pages. * Fixed: Option to hide Live indicators on channels in the directory.
This commit is contained in:
parent
d1cd145b8a
commit
80282914c4
20 changed files with 448 additions and 122 deletions
|
@ -95,6 +95,28 @@ export default class SettingsManager extends Module {
|
|||
}
|
||||
|
||||
|
||||
// ========================================================================
|
||||
// Backup and Restore
|
||||
// ========================================================================
|
||||
|
||||
async getFullBackup() {
|
||||
// Before we do anything else, make sure the provider is ready.
|
||||
await this.provider.awaitReady();
|
||||
|
||||
const out = {
|
||||
version: 2,
|
||||
type: 'full',
|
||||
values: {}
|
||||
};
|
||||
|
||||
for(const [k, v] of this.provider.entries())
|
||||
out.values[k] = v;
|
||||
|
||||
return out;
|
||||
}
|
||||
|
||||
|
||||
|
||||
// ========================================================================
|
||||
// Provider Interaction
|
||||
// ========================================================================
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue