{"action":"created","issue":{"url":"https://api.github.com/repos/Wox-launcher/Wox/issues/388","labels_url":"https://api.github.com/repos/Wox-launcher/Wox/issues/388/labels{/name}","comments_url":"https://api.github.com/repos/Wox-launcher/Wox/issues/388/comments","events_url":"https://api.github.com/repos/Wox-launcher/Wox/issues/388/events","html_url":"https://github.com/Wox-launcher/Wox/issues/388","id":116259380,"number":388,"title":"希望添加一键/自动重建索引的功能！","user":{"login":"clayzx","id":9709390,"avatar_url":"https://avatars.githubusercontent.com/u/9709390?v=3","gravatar_id":"","url":"https://api.github.com/users/clayzx","html_url":"https://github.com/clayzx","followers_url":"https://api.github.com/users/clayzx/followers","following_url":"https://api.github.com/users/clayzx/following{/other_user}","gists_url":"https://api.github.com/users/clayzx/gists{/gist_id}","starred_url":"https://api.github.com/users/clayzx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clayzx/subscriptions","organizations_url":"https://api.github.com/users/clayzx/orgs","repos_url":"https://api.github.com/users/clayzx/repos","events_url":"https://api.github.com/users/clayzx/events{/privacy}","received_events_url":"https://api.github.com/users/clayzx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-11T03:51:20Z","updated_at":"2015-11-11T03:55:46Z","closed_at":null,"body":"当我把本地的Wox拷贝给同事或朋友的时候（里面有我自己推荐给朋友的配置和插件）\r\n他人拿到我给的整个Wox后，结果什么都索引不到！\r\n因为Wox目录里面的索引数据还是我电脑上的！\r\n例如：\r\nWox\\Config\\ImageCache.dat\r\nWox\\Plugins\\Wox.Plugin.Program\\ProgramIndexCache.dat\r\nWox\\Plugins\\Wox.Plugin.Everything\\PortableEverything\\Everything.db\r\n\r\n当然，可以删除了这些文件后再发给他人，\r\n但如果我电脑更改了硬盘，或者是改变了本地程序路径（绿色软件等）\r\n\r\n当然，也可以删除了这些文件后，再重启Wox，也能得到重建\r\n不过这样是否是太麻烦呢？如果提供一个一键重建，\r\n或者内部自动检测变化，自动更新或重建索引是最好的。"},"comment":{"url":"https://api.github.com/repos/Wox-launcher/Wox/issues/comments/155654671","html_url":"https://github.com/Wox-launcher/Wox/issues/388#issuecomment-155654671","issue_url":"https://api.github.com/repos/Wox-launcher/Wox/issues/388","id":155654671,"user":{"login":"happlebao","id":1169912,"avatar_url":"https://avatars.githubusercontent.com/u/1169912?v=3","gravatar_id":"","url":"https://api.github.com/users/happlebao","html_url":"https://github.com/happlebao","followers_url":"https://api.github.com/users/happlebao/followers","following_url":"https://api.github.com/users/happlebao/following{/other_user}","gists_url":"https://api.github.com/users/happlebao/gists{/gist_id}","starred_url":"https://api.github.com/users/happlebao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/happlebao/subscriptions","organizations_url":"https://api.github.com/users/happlebao/orgs","repos_url":"https://api.github.com/users/happlebao/repos","events_url":"https://api.github.com/users/happlebao/events{/privacy}","received_events_url":"https://api.github.com/users/happlebao/received_events","type":"User","site_admin":false},"created_at":"2015-11-11T03:55:46Z","updated_at":"2015-11-11T03:55:46Z","body":"这一键重建暂时是做不到了。目前bug还很多。\r\n用powershell就好了。\r\n```powershell\r\nRemove-Item -Recurse Wox\\Config *.dat\r\nRemove-Item -Recurse Wox\\Plugin *.dat\r\nRemove-Item -Recurse Wox\\Plugin *.db\r\n```"}}