{"action":"created","issue":{"url":"https://api.github.com/repos/Wox-launcher/Wox/issues/577","repository_url":"https://api.github.com/repos/Wox-launcher/Wox","labels_url":"https://api.github.com/repos/Wox-launcher/Wox/issues/577/labels{/name}","comments_url":"https://api.github.com/repos/Wox-launcher/Wox/issues/577/comments","events_url":"https://api.github.com/repos/Wox-launcher/Wox/issues/577/events","html_url":"https://github.com/Wox-launcher/Wox/issues/577","id":151132799,"number":577,"title":"About plugin infrastucture","user":{"login":"roose","id":277651,"avatar_url":"https://avatars.githubusercontent.com/u/277651?v=3","gravatar_id":"","url":"https://api.github.com/users/roose","html_url":"https://github.com/roose","followers_url":"https://api.github.com/users/roose/followers","following_url":"https://api.github.com/users/roose/following{/other_user}","gists_url":"https://api.github.com/users/roose/gists{/gist_id}","starred_url":"https://api.github.com/users/roose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roose/subscriptions","organizations_url":"https://api.github.com/users/roose/orgs","repos_url":"https://api.github.com/users/roose/repos","events_url":"https://api.github.com/users/roose/events{/privacy}","received_events_url":"https://api.github.com/users/roose/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-26T13:18:39Z","updated_at":"2016-04-26T15:12:11Z","closed_at":null,"body":"@happlebao \r\nWhat you think about create `~\\.wox` folder for store plugin settings/cache files, e.g. `~\\.wox\\data\\caniuse-e234e3fbf4294af9a0b78f75bd89edd1\\settings.json`, `~\\.wox\\cache\\caniuse-e234e3fbf4294af9a0b78f75bd89edd1\\name.json`?\r\nWhen updating the plugin, old settings/cache are reserved.\r\n\r\nBy the way, why plugin folder name contains UUID which differs from UUID stored in plugin.json?\r\n\r\nAnd last, how about to register Wox as the default app for .wox files, when opening .wox files be prompted to install/update the plugin?"},"comment":{"url":"https://api.github.com/repos/Wox-launcher/Wox/issues/comments/214778159","html_url":"https://github.com/Wox-launcher/Wox/issues/577#issuecomment-214778159","issue_url":"https://api.github.com/repos/Wox-launcher/Wox/issues/577","id":214778159,"user":{"login":"roose","id":277651,"avatar_url":"https://avatars.githubusercontent.com/u/277651?v=3","gravatar_id":"","url":"https://api.github.com/users/roose","html_url":"https://github.com/roose","followers_url":"https://api.github.com/users/roose/followers","following_url":"https://api.github.com/users/roose/following{/other_user}","gists_url":"https://api.github.com/users/roose/gists{/gist_id}","starred_url":"https://api.github.com/users/roose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roose/subscriptions","organizations_url":"https://api.github.com/users/roose/orgs","repos_url":"https://api.github.com/users/roose/repos","events_url":"https://api.github.com/users/roose/events{/privacy}","received_events_url":"https://api.github.com/users/roose/received_events","type":"User","site_admin":false},"created_at":"2016-04-26T15:12:11Z","updated_at":"2016-04-26T15:12:11Z","body":"APPDATA for plugins settings or for whole Wox app?\r\n\r\nUnfortunately I do not know C# :disappointed: \r\nRecently I tried add new function in IPublicAPI, but I got smell code :laughing:  e.g.\r\n```\r\npublic bool CopyToClipboard(string text)\r\n{\r\n    try\r\n    {\r\n        Thread thread = new Thread(() => Clipboard.SetText(text));\r\n        thread.SetApartmentState(ApartmentState.STA);\r\n        thread.Start();\r\n        thread.Join();\r\n        return true;\r\n    }\r\n    catch (Exception e)\r\n    {\r\n        MessageBox.Show(\"Copy failed, please try later\" + e);\r\n        return false;\r\n    }\r\n}\r\n```\r\npython can not copy to clipboard :disappointed: "}}