{"id":111862,"date":"2020-05-30T18:39:36","date_gmt":"2020-05-30T10:39:36","guid":{"rendered":"http:\/\/4563.org\/?p=111862"},"modified":"2020-05-30T18:39:36","modified_gmt":"2020-05-30T10:39:36","slug":"wind2windows-%e4%b8%8b%e7%9a%84%e8%bf%9b%e7%a8%8b%e6%89%98%e7%ae%a1%e6%9c%8d%e5%8a%a1","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=111862","title":{"rendered":"[Wind2]windows \u4e0b\u7684\u8fdb\u7a0b\u6258\u7ba1\u670d\u52a1"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  [Wind2]windows \u4e0b\u7684\u8fdb\u7a0b\u6258\u7ba1\u670d\u52a1               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ragnaroks <\/span>  <span><i><\/i> 62<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\">                        https:\/\/github.com\/ragnaroks\/Wind2<\/p>\n<p>\u7531\u4e8e\u79cd\u79cd\u539f\u56e0,\u6211\u9700\u8981\u5c06\u67d0\u4e2a\u53ef\u6267\u884c\u6587\u4ef6\u4f5c\u4e3a\u670d\u52a1\u8fd0\u884c,\u5e76\u4e14\u80fd\u968f\u65f6\u63a7\u5236\u8fd0\u884c\u4e0e\u5426<br \/>\u8fd9\u671f\u95f4\u627e\u4e86\u4e00\u4e9b\u89e3\u51b3\u65b9\u6848,\u6bd4\u5982 srvany\/nssm\/srvWrap \u7b49,\u4f46\u662f\u90fd\u4e0d\u6ee1\u610f<br \/>\u4e8e\u662f\u6211\u4ea7\u751f\u4e86\u5199\u4e00\u4e2a\u7c7b\u4f3c\u4e8e linux \u4e0b\u7684 systemd \u7684\u9879\u76ee\u7684\u60f3\u6cd5( https:\/\/www.v2ex.com\/t\/472963 )<\/p>\n<p>\u8fd9\u4e2a\u60f3\u6cd5\u8f6c\u5316\u4e3a\u4ee3\u7801\u540e,\u5c31\u662f Wind \u9879\u76ee\u4e86,Wind \u662f\u4e00\u4e2a Win32GUI \u5e94\u7528\u7a0b\u5e8f,\u4f5c\u4e3a\u7b2c\u4e00\u542f\u52a8\u9879\u542f\u52a8\u540e,\u62c9\u8d77\u5176\u5b83\u88ab\u6258\u7ba1\u7684\u5e94\u7528\u7a0b\u5e8f,\u5e76\u4e14\u53ef\u4ee5\u5728\u56fe\u5f62\u754c\u9762\u4e0a\u968f\u65f6\u63a7\u5236<\/p>\n<p>\u4f46\u662f,\u5b9e\u9645\u4f7f\u7528\u4e00\u5e74\u591a\u4ee5\u540e,\u53d1\u73b0\u8fd8\u662f\u6709\u5f88\u591a\u95ee\u9898,\u6bd4\u5982\u7c7b\u4f3c v2ray \u7684\u5e94\u7528\u7a0b\u5e8f,\u6211\u60f3\u8981\u5b83\u5728\u767b\u5f55\u4f1a\u8bdd\u4e4b\u524d\u5c31\u542f\u52a8,\u53c8\u6bd4\u5982 syncthing,\u6211\u60f3\u8981\u5b83\u5728\u5f00\u673a\u4e00\u5b9a\u65f6\u95f4\u4e4b\u540e\u518d\u542f\u52a8,\u4ee5\u514d\u8fc7\u65e9\u5360\u7528\u5927\u91cf\u78c1\u76d8 IO<\/p>\n<p>\u4e8e\u662f\u6709\u4e86 Wind2,\u53ea\u6709\u63a7\u5236\u53f0\u5e94\u7528\u7a0b\u5e8f,(\u5f3a\u70c8\u5efa\u8bae)\u53ef\u6ce8\u518c\u4e3a Windows \u670d\u52a1\u8fd0\u884c,\u8fbe\u5230\u4e86\u5f00\u673a\u5c31\u6258\u7ba1\u7684\u76ee\u7684,\u4e14\u52a0\u5165\u4e86\u81ea\u542f\u5ef6\u8fdf,\u53ef\u7b80\u5355\u7684\u5bf9\u6258\u7ba1\u5355\u5143\u8fdb\u884c\u6392\u5e8f,\u6bd4\u5982\u5f00\u673a 3 \u79d2\u540e\u542f\u52a8 v2ray,\u7136\u540e 30 \u79d2\u540e\u542f\u52a8 syncthing,syncthing \u5c31\u53ef\u4ee5\u4f7f\u7528 v2ray \u63d0\u4f9b\u7684\u4ee3\u7406\u8fdb\u884c\u540c\u6b65      <\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>11<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"570173\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Greenm <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8fd9\u4e2a\u9700\u6c42\u86ee\u5e38\u89c1\u7684\uff0c\u7ec8\u4e8e\u6709\u4eba\u505a\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"570174\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Remember <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u597d\u50cf\u4e0d\u652f\u6301\u542f\u52a8\u591a\u4e2a\u5b9e\u4f8b? \u8fd8\u8981\u5148\u7b49\u81ea\u5df1\u542f\u52a8\u4e86\u7136\u540e\u624d\u80fd\u6309\u7167\u914d\u7f6e\u4f9d\u6b21\u542f\u52a8\u6258\u7ba1\u7684\u7a0b\u5e8f,\u597d\u50cf\u8fd8\u662f\u5c11\u4e86\u70b9\u5473\u9053,\u6bd5\u7adf\u4ec0\u4e48\u53ea\u662f\u4e00\u4e2a\u666e\u901a\u7684\u670d\u52a1,\u5f88\u96be\u63a7\u5236\u4ec0\u4e48\u65f6\u5019\u80fd\u542f\u52a8.<\/p>\n<p>\u53e6\u5916\u611f\u89c9\u662f\u4e0d\u662f\u8fd8\u662f\u505a\u4e00\u4e2a\u6258\u76d8\u56fe\u6807\u624d\u53ef\u4ee5\u65b9\u4fbf\u7ba1\u7406\u6258\u7ba1\u7684\u7a0b\u5e8f. <\/p>\n<p>\u8fd9\u9700\u6c42\u5176\u5b9e\u8fd8\u662f\u5f88\u5e38\u89c1\u7684, \u5f88\u591a go \u5199\u7684\u5c0f\u7a0b\u5e8f,\u53ea\u6709\u4e00\u4e2a\u547d\u4ee4\u884c,\u7528\u8fd9\u4e2a\u7ba1\u7406\u786e\u5b9e\u65b9\u4fbf\u4e86\u4e0d\u5c11                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"570175\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : geelaw <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u968f\u4fbf\u770b\u4e86\u4e00\u4e0b\u4ee3\u7801\uff0c\u6709\u5f88\u591a\u95ee\u9898\uff1a<\/p>\n<p>1. \u5927\u591a\u6570\u7a0b\u5e8f\u90fd\u4e0d\u662f\u4e3a\u670d\u52a1\u8bbe\u8ba1\u7684\uff0c\u4ee5\u670d\u52a1\u542f\u52a8\u8fd9\u4e9b\u7a0b\u5e8f\u4f1a\u5e26\u6765\u65e0\u6570\u4e2a\u5b89\u5168\u9690\u60a3\uff0c\u5e76\u4e14\u5f88\u591a\u7a0b\u5e8f\u4ee5\u670d\u52a1\u8fd0\u884c\u7684\u65f6\u5019\u4f1a\u5d29\u6e83\u6216\u8005\u4ea7\u751f\u4ee4\u4eba\u610f\u5916\u7684\u6548\u679c\uff0c\u5b9e\u7528\u6027\u548c\u5b89\u5168\u6027\u90fd\u5f88\u503c\u5f97\u6000\u7591\u3002<br \/>2. \u770b\u8d77\u6765\u4e3b\u5e76\u4e0d\u77e5\u9053 IDisposable \u6210\u8bed\u7684\u7528\u6cd5\u3002<br \/>3. \u4e3a\u4ec0\u4e48\u4ee3\u7801\u7684\u683c\u5f0f\u5316\u8fd9\u4e48\u8be1\u5f02\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"570176\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : ragnaroks <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Greenm <br \/>\u7b49\u7b49\u515a\u5927\u6210\u529f<\/p>\n<p>@Remember <br \/>\u662f\u7684,\u8bbe\u8ba1\u539f\u7406\u5c31\u662f\u628a\u67d0\u4e2a\u63a7\u5236\u53f0\u5e94\u7528\u7a0b\u5e8f(Wind)\u6ce8\u518c\u4e3a\u7cfb\u7edf\u670d\u52a1,\u7136\u540e\u53bb\u62c9\u8d77\u914d\u7f6e\u5355\u5143;<br \/>\u81ea\u542f\u5355\u5143\u53ef\u4ee5\u914d\u7f6e\u5ef6\u8fdf\u65f6\u95f4,\u6211\u731c\u4f60\u8981\u7684\u662f systemd \u7684\u4f9d\u8d56\u94fe,\u8fd9\u4e2a\u6682\u65f6\u6ca1\u6709\u8ba1\u5212,\u56e0\u4e3a\u786e\u5b9e\u6ca1\u6709\u8fd9\u6837\u7684\u9700\u6c42;<br \/>\u6258\u76d8\u6211\u731c\u4f60\u6307\u5b9a\u662f GUI \u56fe\u5f62\u754c\u9762,Wind1 \u662f\u8fd9\u6837\u505a\u7684,\u4f46 Wind2 \u53ea\u6709\u670d\u52a1\u4e3b\u673a,\u6709\u8ba1\u5212\u4e2d\u7684\u7f51\u9875\u56fe\u5f62\u754c\u9762,\u8fd8\u6ca1\u5f00\u59cb\u505a,\u8fd9\u90e8\u5206\u9879\u76ee\u7684 readme \u6709\u63d0\u53ca;<\/p>\n<p>@geelaw <br \/>1.\u5b89\u5168\u9690\u60a3 readme \u5df2\u63d0\u53ca,\u9700\u8981\u4f7f\u7528\u8005\u81ea\u884c\u53d6\u820d,\u540e\u671f\u4f1a\u52a0\u5165\u6307\u5b9a\u7528\u6237\u6743\u9650\u8fd0\u884c;<br \/>2.IDisposable \u662f\u6545\u610f\u7684,\u5982\u679c\u4e00\u4e2a class \u7406\u8bba\u4e0a\u53ef\u4ee5\u88ab dispose,\u90a3\u4e48\u6211\u5c31\u4f1a\u4e3a\u4ed6\u5b9e\u73b0 IDisposable,\u5373\u4f7f\u5b9e\u9645\u4e0a\u53ef\u80fd\u6839\u672c\u7528\u4e0d\u5230;<br \/>3.\u56e0\u4e3a\u6ca1\u7528\u683c\u5f0f\u5316,\u5927\u90e8\u5206\u4ee3\u7801\u662f\u8bb0\u4e8b\u672c\u5199\u7684,\u53ef\u8bfb\u6027\u786e\u5b9e\u6b20\u4f73                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"570177\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : ragnaroks <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @geelaw \u5fd8\u4e86\u8865\u5145: \u5982\u679c\u7528\u5fae\u8f6f\u7684\u6807\u51c6\u6765\u8bf4,\u6211\u7684\u4ee3\u7801\u98ce\u683c\u662f AntiMS \u7684                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"570178\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hljjhb <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6bd4 WinSW \u6216 nssm \u6709\u4ec0\u4e48\u4f18\u52bf\u5417                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"570179\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : imn1 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             non-sucking service manager (NSSM)                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"570180\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : ragnaroks <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @hljjhb \u5355\u673a\u7ba1\u7406\u7684\u8bdd\u5e94\u8be5\u662f\u6ca1\u6709\u7684,\u751a\u81f3\u8fd8\u6709\u52a3\u52bf,\u6bd4\u5982\u76ee\u524d\u4e0d\u652f\u6301\u81ea\u5b9a\u4e49\u7528\u6237,\u9700\u8981 runtime \u7b49                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"570181\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : ragnaroks <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @imn1 ?                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"570182\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : imn1 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @ragnaroks <br \/>\u4f60\u4e0d\u77e5\u9053 nssm \uff1f<\/p>\n<p>\u53e6\u5916\u4e3b\u6240\u8bf4\u7684\u8ba1\u5212\u4efb\u52a1\u90fd\u53ef\u4ee5\u505a\uff0c\u53ea\u662f\u6ca1\u6709 GUI \u548c\u5b9e\u65f6\u76d1\u63a7\uff0c\u5982\u679c\u6709\u76d1\u63a7\u7a0b\u5e8f\u662f\u5426\u505c\u6b62\u7684\u8bdd\u5012\u4e0d\u7b97\u9020\u8f6e\u5b50                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"570183\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : ragnaroks <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @imn1 Ctrl+F =&gt; &#8220;nssm&#8221;                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>[Wind2]windows \u4e0b\u7684&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/111862"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=111862"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/111862\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=111862"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=111862"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=111862"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}