From 8745f94d819a9cb126aeb900d127bbb364b63ff3 Mon Sep 17 00:00:00 2001 From: cutls Date: Sat, 9 Jan 2021 21:58:34 +0900 Subject: [PATCH] add export plugin --- app/js/ui/settings.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app/js/ui/settings.js b/app/js/ui/settings.js index 71591eb0..69513904 100644 --- a/app/js/ui/settings.js +++ b/app/js/ui/settings.js @@ -356,8 +356,12 @@ function exportSettingsCore() { //tags var tagarr = localStorage.getItem('tag') var favtag = JSON.parse(tagarr) - exp.favoriteTags = favtag - exp.revisons = 2.1 + //plugins + var plugins = localStorage.getItem('plugins') + var plugin = JSON.parse(plugins) + exp.plugins = plugin + + exp.revisons = 2.2 exp.meta = {} exp.meta.date = new Date() exp.meta.thedesk = localStorage.getItem('ver')