diff --git a/public/icons/icon32.png b/public/icons/icon32.png new file mode 100644 index 0000000..a696470 Binary files /dev/null and b/public/icons/icon32.png differ diff --git a/public/manifest.json b/public/manifest.json index 2144ab0..8f3253f 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -1,6 +1,6 @@ { "name": "__MSG_extensionName__", - "version": "0.0.2", + "version": "0.0.4", "manifest_version": 2, "author": "dudor", "description": "__MSG_extensionDescription__", @@ -8,7 +8,7 @@ "default_locale": "en", "icons": { "16": "icons/icon16.png", - "19": "icons/icon19.png", + "32": "icons/icon32.png", "48": "icons/icon48.png", "128": "icons/icon128.png" }, diff --git a/src/views/background/background.tsx b/src/views/background/background.tsx index cd1ee75..cab4fd6 100644 --- a/src/views/background/background.tsx +++ b/src/views/background/background.tsx @@ -196,7 +196,6 @@ async function clearBookmarkTree() { } } } - await backupToLocalStorage(bookmarks); if (curOperType === OperType.REMOVE && setting.enableNotify) { await browser.notifications.create({ type: "basic", @@ -345,7 +344,7 @@ function format(b: BookmarkInfo): BookmarkInfo { } return b; } - +///暂时不启用自动备份 async function backupToLocalStorage(bookmarks: BookmarkInfo[]) { try { let syncdata = new SyncDataInfo();