zhuowenli / githuber

:octocat: Display Github Trending repositories on Chrome New Tab Extensions
https://chrome.google.com/webstore/detail/githuber/janmcneaglgklfljjcpihkkomeghljnf
Mozilla Public License 2.0
487 stars 47 forks source link

chrome版本不一致会导入数据无效,导致还原默认书签 #21

Closed HenryQW closed 5 years ago

HenryQW commented 6 years ago

Chrome 68.0.3440.106 导出数据后得到的 Backup.githuber:

{
  "config": {
    "engineNavName": "Images",
    "engineName": "google",
    "since": "weekly",
    "lang": "",
    "locale": "en",
    "showBookmark": true,
    "collapseBookmark": false,
    "openSearchInNewTab": false,
    "openLinkInNewTab": true,
    "openBookmarkInNewTab": true,
    "showSetting": true
  },
  "bookmarks": [
    {
      "name": "Server-Configs",
      "logo": "https://assets-cdn.github.com/favicon.ico",
      "url": "https://github.com/HenryQW/Server-Configs"
    },
    {
      "name": "Server-Automator",
      "logo": "https://assets-cdn.github.com/favicon.ico",
      "url": "https://github.com/HenryQW/Server-Automator"
    }
  ]
}

在 Chrome 66.0.3359 上导入后的结果: image

zhuowenli commented 5 years ago

一直没有复现,当前已有的书签是不会被替换掉的,备份恢复的书签会进行比对,如果有新增会插入进来。