mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-08-30 21:12:40 +00:00
![jeremy@jermolene.com](/assets/img/avatar_default.png)
To address @pmario's suggestion here: https://github.com/Jermolene/TiddlyWiki5/issues/4879#issuecomment-704320381
27 lines
574 B
JavaScript
27 lines
574 B
JavaScript
/*\
|
|
title: $:/plugins/tiddlywiki/upgrade/config.js
|
|
type: application/javascript
|
|
module-type: startup
|
|
|
|
Startup module for configuring the upgrade plugin
|
|
|
|
\*/
|
|
(function(){
|
|
|
|
/*jslint node: true, browser: true */
|
|
/*global $tw: false */
|
|
"use strict";
|
|
|
|
// Export name and synchronous status
|
|
exports.name = "upgrade-config";
|
|
exports.before = ["startup"];
|
|
exports.synchronous = true;
|
|
|
|
exports.startup = function() {
|
|
// See $tw.utils.decryptStoreAreaInteractive() in $:/core/modules/utils/crypto.js
|
|
$tw.config.usePasswordVault = true;
|
|
$tw.config.disableAutoSave = true;
|
|
};
|
|
|
|
})();
|