{"id":946,"date":"2023-06-07T15:50:16","date_gmt":"2023-06-07T07:50:16","guid":{"rendered":"https:\/\/www.zhidianwl.com\/zhidian\/?p=946"},"modified":"2023-06-07T15:50:16","modified_gmt":"2023-06-07T07:50:16","slug":"exe%e5%a6%82%e4%bd%95%e8%bd%ac%e6%88%90app","status":"publish","type":"post","link":"https:\/\/www.zhidianwl.com\/zhidian\/2023\/946\/","title":{"rendered":"exe\u5982\u4f55\u8f6c\u6210app?"},"content":{"rendered":"

EXE\u662fWindows\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u7684\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u800cAPP\u5219\u662fMacOS\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u7684\u5e94\u7528\u7a0b\u5e8f\u3002\u56e0\u6b64\uff0c\u5c06EXE\u6587\u4ef6\u8f6c\u6362\u4e3aAPP\u6587\u4ef6\u9700\u8981\u8fdb\u884c\u4e00\u4e9b\u8f6c\u6362\u548c\u9002\u5e94\u64cd\u4f5c\u7cfb\u7edf\u7684\u5de5\u4f5c\u3002\u4e0b\u9762\u6211\u4eec\u6765\u4ecb\u7ecd\u4e00\u4e0bEXE\u5982\u4f55\u8f6c\u6362\u4e3aAPP\u7684\u539f\u7406\u548c\u5177\u4f53\u7684\u64cd\u4f5c\u6b65\u9aa4\u3002<\/p>\n

\u4e00\u3001\u539f\u7406\u4ecb\u7ecd<\/p>\n

EXE\u6587\u4ef6\u662fWindows\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u7684\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u800cAPP\u6587\u4ef6\u662fMacOS\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u7684\u5e94\u7528\u7a0b\u5e8f\u3002\u4e24\u4e2a\u64cd\u4f5c\u7cfb\u7edf\u7684\u6587\u4ef6\u683c\u5f0f\u548c\u6267\u884c\u65b9\u5f0f\u4e0d\u540c\uff0c\u56e0\u6b64\u9700\u8981\u8fdb\u884c\u8f6c\u6362\u3002\u8f6c\u6362\u7684\u4e3b\u8981\u6b65\u9aa4\u662f\u5c06EXE\u6587\u4ef6\u8f6c\u6362\u4e3aMacOS\u53ef\u6267\u884c\u6587\u4ef6\u683c\u5f0f\uff0c\u7136\u540e\u5c06\u5176\u6253\u5305\u6210APP\u6587\u4ef6\u3002<\/p>\n

\u5728Windows\u64cd\u4f5c\u7cfb\u7edf\u4e0a\uff0cEX<\/p>\n

<\/figure>\n<\/p>\n

E\u6587\u4ef6\u662f\u901a\u8fc7PE\uff08Portable Executable\uff09\u683c\u5f0f\u6765\u5b9e\u73b0\u7684\uff0c\u800cMacOS\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u7684\u53ef\u6267\u884c\u6587\u4ef6\u5219\u662f\u901a\u8fc7Mach-O\uff08Mach Object\uff09\u683c\u5f0f\u6765\u5b9e\u73b0\u7684\u3002\u56e0\u6b64\uff0c\u5c06EXE\u6587\u4ef6\u8f6c\u6362\u4e3aAPP\u6587\u4ef6\u9700\u8981\u5c06PE\u683c\u5f0f\u8f6c\u6362\u4e3aMach-O\u683c\u5f0f\u3002<\/p>\n

\u4e8c\u3001\u5177\u4f53\u64cd\u4f5c\u6b65\u9aa4<\/p>\n

1. \u5b89\u88c5Wine<\/p>\n

Wine\u662f\u4e00\u4e2a\u5728MacOS\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u8fd0\u884cWindows\u5e94\u7528\u7a0b\u5e8f\u7684\u8f6f\u4ef6\u3002\u56e0\u6b64\uff0c\u6211\u4eec\u9700\u8981\u9996\u5148\u5b89\u88c5Wine\uff0c\u4ee5\u4fbf\u5728MacOS\u4e0a\u8fd0\u884cEXE\u6587\u4ef6\u3002<\/p>\n

2. \u5b89\u88c5WineBottler<\/p>\n

WineBottler\u662f\u4e00\u4e2a\u53ef\u4ee5\u5c06Windows\u5e94\u7528\u7a0b\u5e8f\u6253\u5305\u6210MacOS\u5e94\u7528\u7a0b\u5e8f\u7684\u8f6f\u4ef6\u3002\u6211\u4eec\u9700\u8981\u4f7f\u7528WineBottler\u6765\u53d8\u5f02\u94fe\u63a5\u751f\u6210\u8f6f\u4ef6<\/a>\u5c06EXE\u6587\u4ef6\u8f6c\u6362\u4e3aAPP\u6587\u4ef6\u3002<\/p>\n

3. \u6253\u5f00WineBottler<\/p>\n

\u6253\u5f00WineBottler\u540e\uff0c\u70b9\u51fb\u5de6\u4e0a\u89d2\u7684\u201c\uff0b\u201d\u6309\u94ae\uff0c\u9009\u62e9\u9700\u8981\u8f6c\u6362\u7684EXE\u6587\u4ef6\u3002<\/p>\n

4. \u8bbe\u7f6e\u6253\u5305\u9009\u9879<\/p>\n

\u8bbe\u7f6e\u6253\u5305\u9009\u9879\uff0c\u5305\u62ec\u5e94\u7528\u7a0b\u5e8f\u540d\u79f0\u3001\u56fe\u6807\u548c\u63cf\u8ff0\u7b49\u4fe1\u606f\u3002\u53ef\u4ee5\u9009\u62e9\u81ea\u5b9a\u4e49\u56fe\u6807\u548c\u63cf\u8ff0\u4fe1\u606f\u3002<\/p>\n

5. \u6253\u5305\u5e94\u7528\u7a0b\u5e8f<\/p>\n

\u70b9\u51fb\u201cAdvanced\u201d\u9009\u9879\u5361\uff0c\u9009\u62e9\u201cBuild\u201d\u6309\u628a\u8f6f\u4ef6\u6253\u5305\u6210\u5de5\u5177\u7bb1<\/a>\u94ae\uff0c\u5f00\u59cb\u6253\u5305\u5e94\u7528\u7a0b\u5e8f\u3002\u6253\u5305\u5b8c\u6210\u540e\uff0c\u4f1a\u751f\u6210\u4e00\u4e2aAPP\u6587\u4ef6\u3002<\/p>\n

6. \u6d4b\u8bd5\u5e94\u7528\u7a0b\u5e8f<\/p>\n

\u53cc\u51fbAPP\u6587\u4ef6\uff0c\u6d4b\u8bd5\u5e94\u7528\u7a0b\u5e8f\u662f\u5426\u53ef\u4ee5\u6b63\u5e38\u8fd0\u884c\u3002<\/p>\n

\u4e09\u3001\u6ce8\u610f\u4e8b\u9879<\/p>\n

1. \u8f6c\u6362\u8fc7\u7a0b\u4e2d\u53ef\u80fd\u4f1a\u51fa\u73b0\u4e00\u4e9b\u517c\u5bb9\u6027\u95ee\u9898\uff0c\u9700\u8981\u6839\u636e\u5177\u4f53\u60c5\u51b5\u8fdb\u884c\u8c03\u6574\u3002<\/p>\n

2. \u8f6c\u6362\u540e\u7684APP\u6587\u4ef6\u53ef\u80fd\u4f1a\u6bd4\u539f\u6765\u7684EXE\u6587\u4ef6\u5360\u7528\u66f4\u591a\u7684\u7a7a\u95f4\u3002<\/p>\n

3. \u8f6c\u6362\u540e\u7684APP\u6587\u4ef6\u53ef\u80fd\u4f1a\u5728MacOS\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u8fd0\u884c\u5f97\u6bd4\u8f83\u6162\u3002<\/p>\n

4. \u8f6c\u6362\u540e\u7684APP\u6587\u4ef6\u53ef\u80fd\u4f1a\u51fa\u73b0\u4e00\u4e9b\u517c\u5bb9\u6027\u95ee\u9898\uff0c\u9700\u8981\u8fdb\u884c\u6d4b\u8bd5\u548c\u8c03\u6574\u3002<\/p>\n

\u603b\u7ed3\uff1a<\/p>\n

EXE\u6587\u4ef6\u548cAPP\u6587\u4ef6\u662f\u4e24\u79cd\u4e0d\u540c\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u7684\u53ef\u6267\u884c\u6587\u4ef6\u683c\u5f0f\u3002\u5c06EXE\u6587\u4ef6\u8f6c\u6362\u4e3aAPP\u6587\u4ef6\u9700\u8981\u8fdb\u884c\u683c\u5f0f\u8f6c\u6362\u548c\u9002\u5e94\u64cd\u4f5c\u7cfb\u7edf\u7684\u5de5\u4f5c\u3002\u901a\u8fc7\u5b89\u88c5Wine\u548cWineBottler\u8f6f\u4ef6\uff0c\u53ef\u4ee5\u5c06EXE\u6587\u4ef6\u6253\u5305\u6210MacOS\u5e94\u7528\u7a0b\u5e8f\u3002\u8f6c\u6362\u8fc7\u7a0b\u4e2d\u9700\u8981\u6ce8\u610f\u517c\u5bb9\u6027\u95ee\u9898\uff0c\u5e76\u8fdb\u884c\u6d4b\u8bd5\u548c\u8c03\u6574\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

EXE\u662fWindows\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u7684\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u800cAPP\u5219\u662fMacOS\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u7684\u5e94\u7528\u7a0b\u5e8f\u3002\u56e0\u6b64\uff0c\u5c06EXE\u6587\u4ef6\u8f6c\u6362\u4e3aAPP\u6587\u4ef6\u9700\u8981\u8fdb\u884c\u4e00\u4e9b\u8f6c\u6362\u548c\u9002\u5e94\u64cd\u4f5c\u7cfb\u7edf\u7684\u5de5\u4f5c\u3002\u4e0b\u9762\u6211\u4eec\u6765\u4ecb\u7ecd\u4e00\u4e0bEXE\u5982\u4f55\u8f6c\u6362\u4e3aA<\/p>\n","protected":false},"author":14,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[2127,14,586,171,261],"class_list":["post-946","post","type-post","status-publish","format-standard","hentry","category-zuoexe","tag-exeapk","tag-14","tag-exe","tag-171","tag-261"],"_links":{"self":[{"href":"https:\/\/www.zhidianwl.com\/zhidian\/wp-json\/wp\/v2\/posts\/946","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.zhidianwl.com\/zhidian\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zhidianwl.com\/zhidian\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zhidianwl.com\/zhidian\/wp-json\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zhidianwl.com\/zhidian\/wp-json\/wp\/v2\/comments?post=946"}],"version-history":[{"count":0,"href":"https:\/\/www.zhidianwl.com\/zhidian\/wp-json\/wp\/v2\/posts\/946\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.zhidianwl.com\/zhidian\/wp-json\/wp\/v2\/media?parent=946"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zhidianwl.com\/zhidian\/wp-json\/wp\/v2\/categories?post=946"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zhidianwl.com\/zhidian\/wp-json\/wp\/v2\/tags?post=946"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}