{"id":35293,"date":"2024-11-07T10:43:23","date_gmt":"2024-11-07T02:43:23","guid":{"rendered":"https:\/\/www.deepin.org\/?p=35293"},"modified":"2024-11-07T10:45:23","modified_gmt":"2024-11-07T02:45:23","slug":"wechat-4-0-linyaps","status":"publish","type":"post","link":"https:\/\/www.deepin.org\/zh\/wechat-4-0-linyaps\/","title":{"rendered":"\u5982\u4f55\u4ec5\u7528\u51e0\u884c\u4ee3\u7801\u5c06\u5fae\u4fe14.0\u516c\u6d4b\u7248\u8f6c\u6362\u6210\u73b2\u73d1\u683c\u5f0f\uff1f"},"content":{"rendered":"<img loading=\"lazy\" class=\"alignnone size-full wp-image-35295\" src=\"https:\/\/www.deepin.org\/wp-content\/uploads\/2024\/11\/\u84dd\u8272\u5546\u52a1\u9ad8\u8003\u5fd7\u613f\u586b\u62a5\u8bb2\u5ea7\u5fae\u4fe1\u516c\u4f17\u53f7\u5c01\u9762.png\" alt=\"\" width=\"900\" height=\"383\" srcset=\"https:\/\/www.deepin.org\/wp-content\/uploads\/2024\/11\/\u84dd\u8272\u5546\u52a1\u9ad8\u8003\u5fd7\u613f\u586b\u62a5\u8bb2\u5ea7\u5fae\u4fe1\u516c\u4f17\u53f7\u5c01\u9762.png 900w, https:\/\/www.deepin.org\/wp-content\/uploads\/2024\/11\/\u84dd\u8272\u5546\u52a1\u9ad8\u8003\u5fd7\u613f\u586b\u62a5\u8bb2\u5ea7\u5fae\u4fe1\u516c\u4f17\u53f7\u5c01\u9762-300x128.png 300w, https:\/\/www.deepin.org\/wp-content\/uploads\/2024\/11\/\u84dd\u8272\u5546\u52a1\u9ad8\u8003\u5fd7\u613f\u586b\u62a5\u8bb2\u5ea7\u5fae\u4fe1\u516c\u4f17\u53f7\u5c01\u9762-150x64.png 150w, https:\/\/www.deepin.org\/wp-content\/uploads\/2024\/11\/\u84dd\u8272\u5546\u52a1\u9ad8\u8003\u5fd7\u613f\u586b\u62a5\u8bb2\u5ea7\u5fae\u4fe1\u516c\u4f17\u53f7\u5c01\u9762-768x327.png 768w, https:\/\/www.deepin.org\/wp-content\/uploads\/2024\/11\/\u84dd\u8272\u5546\u52a1\u9ad8\u8003\u5fd7\u613f\u586b\u62a5\u8bb2\u5ea7\u5fae\u4fe1\u516c\u4f17\u53f7\u5c01\u9762-24x10.png 24w, https:\/\/www.deepin.org\/wp-content\/uploads\/2024\/11\/\u84dd\u8272\u5546\u52a1\u9ad8\u8003\u5fd7\u613f\u586b\u62a5\u8bb2\u5ea7\u5fae\u4fe1\u516c\u4f17\u53f7\u5c01\u9762-36x15.png 36w, https:\/\/www.deepin.org\/wp-content\/uploads\/2024\/11\/\u84dd\u8272\u5546\u52a1\u9ad8\u8003\u5fd7\u613f\u586b\u62a5\u8bb2\u5ea7\u5fae\u4fe1\u516c\u4f17\u53f7\u5c01\u9762-48x20.png 48w\" sizes=\"(max-width: 900px) 100vw, 900px\" \/><\/p>\n<p>\u5fae\u4fe14.0\u00a0\uff08\u73b2\u73d1\u7248\uff09\u5df2\u4e0a\u67b6\u5982\u610f\u73b2\u73d1\u5e94\u7528\u5546\u5e97\uff01\uff01\uff01<\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-35294\" src=\"https:\/\/www.deepin.org\/wp-content\/uploads\/2024\/11\/1-1.png\" alt=\"\" width=\"1080\" height=\"458\" srcset=\"https:\/\/www.deepin.org\/wp-content\/uploads\/2024\/11\/1-1.png 1080w, https:\/\/www.deepin.org\/wp-content\/uploads\/2024\/11\/1-1-300x127.png 300w, https:\/\/www.deepin.org\/wp-content\/uploads\/2024\/11\/1-1-1024x434.png 1024w, https:\/\/www.deepin.org\/wp-content\/uploads\/2024\/11\/1-1-150x64.png 150w, https:\/\/www.deepin.org\/wp-content\/uploads\/2024\/11\/1-1-768x326.png 768w, https:\/\/www.deepin.org\/wp-content\/uploads\/2024\/11\/1-1-24x10.png 24w, https:\/\/www.deepin.org\/wp-content\/uploads\/2024\/11\/1-1-36x15.png 36w, https:\/\/www.deepin.org\/wp-content\/uploads\/2024\/11\/1-1-48x20.png 48w\" sizes=\"(max-width: 1080px) 100vw, 1080px\" \/><\/p>\n<p>\u524d\u4e24\u5929\u5fae\u4fe1 Linux \u63a8\u51fa\u4e86\u5168\u65b0 4.0 \u7248\u672c\uff0c\u636e\u8bf4\u8fd9\u6b21\u91cd\u5927\u7248\u672c\u66f4\u65b0\uff0c\u5728\u8de8\u53d1\u884c\u7248\u4f53\u9a8c\u4e0a\u6709\u4e86\u8d28\u7684\u98de\u8dc3\u3002<\/p>\n<p>\u5728\u6211\u5b89\u88c5\u8bd5\u7528\u524d\uff0c\u65e9\u5728\u574a\u95f4\u5c31\u6709\u4f20\u95fb\u8bf4\u4e3b\u8981\u7279\u6027\u6709\u8fd9\u51e0\u9879\uff1a<\/p>\n<p>1. \u4e0e Windows \u5e73\u53f0\u534f\u540c\u5207\u6362\u4e3a Qt \u754c\u9762\u5e93\uff1b<\/p>\n<p>2. Linux \u5e73\u53f0\u5168\u9762\u5f00\u653e\u516c\u6d4b\uff0c\u666e\u901a\u7528\u6237\u5373\u53ef\u76f4\u63a5\u901a\u8fc7\u5fae\u4fe1 Linux PC \u7248\u672c\u767b\u5f55\uff1b<\/p>\n<p>3. \u7591\u4f3c\u6709\u66f4\u591a\u5982 Ubuntu \u7684\u7b2c\u4e09\u65b9\u53d1\u884c\u7248\u5f97\u5230\u652f\u63f4\uff0c\u4e0d\u518d\u662f\u65e0\u6cd5\u767b\u5f55\u3002<\/p>\n<p>\u5370\u8c61\u4e2d\u4e4b\u524d 1.0 \u7248\u672c\u5c1d\u8bd5\u8fc7\u5c06 Linux \u7248\u672c\u7684\u5fae\u4fe1\u6784\u5efa\u51fa\u6765\u73b2\u73d1\u5bb9\u5668\u7684\u5b89\u88c5\u5305\uff0c\u867d\u7136\u53ef\u4ee5\u6210\u529f\u5b89\u88c5\u4e86\uff0c\u4f46\u662f\u5374\u65e0\u6cd5\u6b63\u5e38\u767b\u5f55\u3002\u8fd9\u51e0\u4e2a\u6d88\u606f\u51fa\u6765\uff0c\u53c8\u71c3\u8d77\u4e86\u6211\u4f5c\u4e3a\u5982\u610f\u73b2\u73d1\u5f00\u6e90\u793e\u533a\u751f\u6001\u8d21\u732e\u8005\u7684\u706b\u3002\u7acb\u523b\u9a6c\u4e0a\uff0c\u6211\u8feb\u4e0d\u53ca\u5f85\u5728\u574a\u95f4\u627e\u5230\u4e86\u8fd9\u6b21\u5fae\u4fe1\u7684 deb \u5b89\u88c5\u5305\uff0c \u5e76\u6253\u5f00\u4e86\u6211\u7684 deepin 23 \u73b2\u73d1\u6784\u5efa\u7cfb\u7edf.....<\/p>\n<p>&nbsp;<\/p>\n<h1 style=\"text-align: center;\"><strong>\u5206\u6790\u5b89\u88c5\u5305<\/strong><\/h1>\n<p>\u5728\u62ff\u5230\u8fd9\u4e2a\u5b89\u88c5\u5305\u7684\u4e00\u65f6\u95f4\uff0c\u6211\u5c31\u5bf9\u8fd9\u4e2a\u5305\u8fdb\u884c\u4e86\u683c\u5f0f\u3001\u8fd0\u884c\u5e93\u4f9d\u8d56\u3001\u7a0b\u5e8f\u4e8c\u8fdb\u5236\u7c7b\u578b\u7684\u68c0\u6d4b\uff0c\u6765\u5c3d\u6700\u5927\u52aa\u529b\u6765\u786e\u4fdd\u8fd9\u6b21\u8f6c\u6362\u7684\u6210\u529f\u7387\u662f\u51c6\u786e\u4e0d\u53d7\u5e72\u6270\u7684\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2><strong>\u4f9d\u8d56\u68c0\u6d4b<\/strong><\/h2>\n<p>\u4f5c\u4e3a\u4f20\u7edf deb \u5b89\u88c5\u5305\uff0c\u5f88\u8f7b\u6613\u5c31\u53ef\u4ee5\u901a\u8fc7 dpkg \u5957\u4ef6\u67e5\u8be2\u5230\u8fd9\u4e2a\u5305\u7684 Depends \u9879\u4ee5\u53ca\u5176\u4ed6\u5305\u5185\u8bb0\u8f7d\u7684\u5185\u5bb9\u3002<\/p>\n<blockquote><p>Maintainer: WeChat Team &lt;&gt;<br \/>\nInstalled-Size: 696820<br \/>\nDescription: wechat from Tencent wechat from Tencent<br \/>\nArchitecture: amd64<br \/>\nVersion: 4.0.0.21<br \/>\nPre-Depends: dpkg (&gt;= 1.14.0)<br \/>\nPriority: optional<br \/>\nPackage: com.tencent.wechat<br \/>\nDepends: fonts-noto-cjk | google-noto-cjk-fonts, deepin-elf-verify (&gt;= 1.1.10-1)<br \/>\nProvides: wechat<br \/>\nSection: default<\/p><\/blockquote>\n<p>\u53ef\u4ee5\u770b\u5230\uff0c\u8fd9\u4e2a\u5b89\u88c5\u5305\u5c45\u7136\u5927\u4f53\u4e0a\u53ea\u4f9d\u8d56\u4e86\u5b57\u4f53\u7684\u8f6f\u4ef6\u5305\u800c\u5e76\u672a\u8fc7\u591a\u8c03\u7528\u7b2c\u4e09\u65b9\u8fd0\u884c\u5e93\uff0c\u56e0\u6b64\u5bf9\u4e8e\u73b2\u73d1\u5e94\u7528\u6784\u5efa\u6765\u8bf4\u65b9\u4fbf\u4e0d\u5c11\uff0c\u4e0d\u9700\u8981\u624b\u52a8\u6dfb\u52a0\u592a\u591a\u8fd0\u884c\u5e93\u4e86\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2><strong>\u683c\u5f0f\u68c0\u6d4b<\/strong><\/h2>\n<p>\u5bf9\u4e8e\u73b2\u73d1\u5e94\u7528\u6784\u5efa\u9879\u76ee\u800c\u8a00\uff0cicons \u548c desktop \u6587\u4ef6\u3001\u4e8c\u8fdb\u5236\u6587\u4ef6\u76ee\u5f55\u90fd\u6709\u6307\u5411\u6027\u7684\u8981\u6c42\uff0c\u90fd\u4f1a\u5728\u5bb9\u5668\u4e2d\u6839\u636e\u5e94\u7528 id \u751f\u6210\u8be5\u5e94\u7528\u7a0b\u5e8f\u5728\u5bb9\u5668\u4e2d\u7684\u76ee\u5f55\u3002<\/p>\n<p>\u8be6\u60c5\u53ef\u67e5\u9605\uff1a\u00a0\u3010\u73b2\u73d1\u6784\u5efa\u914d\u7f6e\u6587\u4ef6\u7b80\u4ecb\u3011\uff1a<a href=\"https:\/\/linglong.dev\/guide\/ll-builder\/manifests.html\">https:\/\/linglong.dev\/guide\/ll-builder\/manifests.html<\/a><\/p>\n<p>\u5728\u8fd9\u6b21\u7684\u6848\u4f8b\u4e2d\uff0c\u53ef\u4ee5\u7b80\u5355\u7406\u89e3\u4e3a\u4ee5\u4e0b\u51e0\u4e2a\u89c4\u8303\u9879\uff1a<\/p>\n<p>1. \u73b2\u73d1\u6784\u5efa\u5de5\u7a0b\u914d\u7f6e\u6587\u4ef6\u7684 linglong.yaml \u4e2d\uff0c $PREFIX \u53d8\u91cf\u7406\u89e3\u4e3a\u73b2\u73d1\u5e94\u7528\u7684id\uff0c\u4f46\u5b9e\u9645\u573a\u666f\u4e2d\u76f4\u63a5\u4f7f\u7528\u8be5\u53d8\u91cf\u5373\u53ef\uff0c\u4e0d\u9700\u8981\u4fee\u6539\u4e3a\u5177\u4f53id\uff1b<\/p>\n<p>2. \u4f20\u7edf\u7684 XDG_DATA_DIRS \u76ee\u5f55\u6620\u5c04\u5230\u5e94\u7528\u5bb9\u5668\u4e2d\u5373\u4e3a $PREFIX\/share \uff0c\u4f20\u7edf XDG_DATA_DIRS \u76ee\u5f55\u4e0b\u7684 applications \u3001 icons \u76ee\u5f55\u5747\u9700\u8981\u653e\u7f6e\u4e8e\u6b64\uff1b<\/p>\n<p>3. icons\u76ee\u5f55\u9700\u8981\u6839\u636eXDG\u89c4\u8303\u3001\u56fe\u6807\u5c3a\u5bf8\u5927\u5c0f\u653e\u7f6e\uff0c\u5982 \/usr\/share\/icons\/hicolor\/scalable\/apps \u3002<\/p>\n<p>\u5177\u4f53\u53ef\u53c2\u8003<a href=\"https:\/\/uosdn.uniontech.com\/#document3?dirid=656ef27dbd766615b0b0300e&amp;id=65702eaebd766615b0b0310d\">\u3010\u7edf\u4fe1\u5e94\u7528\u6253\u5305\u89c4\u8303\u3011<\/a>\u4e2d\u5bf9entries\u76ee\u5f55\u7684\u8bf4\u660e\u3002<\/p>\n<p>\u5728\u5f97\u77e5\u8fd9\u4e2a\u89c4\u8303\u540e\uff0c\u6211\u4eec\u73b0\u5728\u518d\u6765\u770b\u5fae\u4fe1 deb \u5305\u5185\u5bb9\u548c\u8be5\u89c4\u8303\u7684\u5951\u5408\u5ea6\u6709\u51e0\u4f55\u3002\u540c\u6837\u6211\u4eec\u8fd9\u91cc\u53ef\u4ee5\u901a\u8fc7 dpkg \u5957\u4ef6\u6765\u5206\u6790\u5305\u7684\u5185\u5bb9\uff1a<\/p>\n<blockquote><p>dpkg -c com.tencent.wechat_4.0.0.21_amd64.deb<br \/>\ndrwxr-xr-x root\/root 0 2024-11-04 12:44 .\/<br \/>\ndrwxr-xr-x root\/root 0 2024-02-01 13:58 .\/opt\/<br \/>\ndrwxr-xr-x root\/root 0 2024-03-05 12:18 .\/opt\/apps\/<br \/>\ndrwxr-xr-x root\/root 0 2024-11-04 12:44 .\/opt\/apps\/com.tencent.wechat\/<br \/>\ndrwxr-xr-x root\/root 0 2024-03-12 14:13 .\/opt\/apps\/com.tencent.wechat\/entries\/<br \/>\ndrwxr-xr-x root\/root 0 2024-03-12 14:12 .\/opt\/apps\/com.tencent.wechat\/entries\/applications\/<br \/>\n-rwxr-xr-x root\/root 171 2024-03-12 16:48 .\/opt\/apps\/com.tencent.wechat\/entries\/applications\/com.tencent.wechat.desktop<br \/>\ndrwxr-xr-x root\/root 0 2024-03-12 12:13 .\/opt\/apps\/com.tencent.wechat\/entries\/icons\/<br \/>\ndrwxr-xr-x root\/root 0 2024-03-12 12:13 .\/opt\/apps\/com.tencent.wechat\/entries\/icons\/hicolor\/<br \/>\ndrwxr-xr-x root\/root 0 2024-03-12 12:13 .\/opt\/apps\/com.tencent.wechat\/entries\/icons\/hicolor\/128x128\/<br \/>\ndrwxr-xr-x root\/root 0 2024-03-12 16:49 .\/opt\/apps\/com.tencent.wechat\/entries\/icons\/hicolor\/128x128\/apps\/<br \/>\n-rwxr-xr-x root\/root 6280 2024-03-12 12:13 .\/opt\/apps\/com.tencent.wechat\/entries\/icons\/hicolor\/128x128\/apps\/com.tencent.wechat.png<br \/>\ndrwxr-xr-x root\/root 0 2024-03-12 12:13 .\/opt\/apps\/com.tencent.wechat\/entries\/icons\/hicolor\/256x256\/<br \/>\ndrwxr-xr-x root\/root 0 2024-03-12 16:49 .\/opt\/apps\/com.tencent.wechat\/entries\/icons\/hicolor\/256x256\/apps\/<br \/>\n-rwxr-xr-x root\/root 9387 2024-03-12 12:13 .\/opt\/apps\/com.tencent.wechat\/entries\/icons\/hicolor\/256x256\/apps\/com.tencent.wechat.png<br \/>\ndrwxr-xr-x root\/root 0 2024-11-04 12:44 .\/opt\/apps\/com.tencent.wechat\/files\/-rwxr-xr-x\u00a0root\/root\u00a0155543928\u00a02024-11-01\u00a017:42\u00a0.\/opt\/apps\/com.tencent.wechat\/files\/wechat<\/p><\/blockquote>\n<p>\u4ece\u7ed3\u679c\u53ef\u4ee5\u770b\u51fa\uff0c\u8be5\u5305\u4e0e\u89c4\u8303\u5951\u5408\u5ea6\u8f83\u9ad8\uff0c\u56e0\u6b64\u8fc1\u79fb\u8fc7\u7a0b\u4f1a\u66f4\u4fbf\u6377\uff0c\u53ef\u4ee5\u8fdb\u884c\u4e0b\u4e00\u6b65\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2><strong>\u7a0b\u5e8f\u7c7b\u578b\u5224\u65ad<\/strong><\/h2>\n<p>\u6211\u4eec\u73b0\u5728\u53ef\u4ee5\u5f00\u59cb\u5224\u65ad\u7a0b\u5e8f\u7c7b\u578b\u4e86\uff0c\u540c\u6837\u8fd9\u91cc\u53ef\u4ee5\u4f7f\u7528 dpkg \u5957\u4ef6\u6765\u89e3\u538b deb \u5305\u7684\u5185\u5bb9\uff1a<\/p>\n<blockquote><p>dpkg -x com.tencent.wechat_4.0.0.21_amd64.deb .\/<\/p><\/blockquote>\n<p>\u8fd9\u6837\u5c31\u80fd\u5c06 deb \u5b89\u88c5\u5305\u7684 data \u90e8\u5206\u89e3\u538b\u5230\u6b64\u76ee\u5f55\u4e0b\u4e86\uff0c\u89e3\u538b\u5b8c\u6210\u540e\u6211\u4eec\u770b\u4e0b\u7a0b\u5e8f\u76ee\u5f55\u7684\u5927\u4f53\u7ec4\u6210\u90e8\u5206\uff1a<\/p>\n<p>* \u4e3a\u4e86\u8282\u7701\u6587\u672c\u7a7a\u95f4\uff0c\u6211\u8fd9\u91cc\u5c31\u4e0d\u5b8c\u5168\u5c55\u793a\u6240\u6709\u6587\u4ef6\u5185\u5bb9\uff0c\u4ee5\u5b9e\u9645\u4e3a\u51c6\u3002<\/p>\n<blockquote><p><code><span class=\"code-snippet_outer\">opt<br \/>\n\u2514\u2500\u2500 apps<br \/>\n\u2514\u2500\u2500 com.tencent.wechat<br \/>\n\u2514\u2500\u2500 entries<br \/>\n\u2514\u2500\u2500 applications<br \/>\n\u2514\u2500\u2500 icons<br \/>\n\u2514\u2500\u2500 files<br \/>\n\u2514\u2500\u2500 wechat  \u00a0 \u00a0 \u2514\u2500\u2500 wechat<\/span><\/code><\/p><\/blockquote>\n<p>\u6309\u7167\u5f53\u524d\u56fd\u5185\u4e3b\u6d41\u5546\u4e1a\u5e94\u7528\u6765\u8bf4\uff0c\u5927\u90e8\u5206\u4f1a\u57fa\u4e8e Qt \u6216\u8005 Electron \u7b49\u4e0d\u540c\u65b9\u6848\u6765\u53d1\u5c55\u5ba2\u6237\u7aef\u3002Electron \u7a0b\u5e8f\u4e00\u822c\u5728\u7a0b\u5e8f\u76ee\u5f55\u4e2d\u4f1a\u4f34\u968f chrome-sandbox \u7b49 sandbox \u5b57\u6837\uff0c\u6211\u4eec\u770b\u5230\u5fae\u4fe1\u7a0b\u5e8f\u76ee\u5f55\u4e2d\u5e76\u672a\u5305\u542b\u6b64\u6587\u4ef6\uff0c\u539f\u5219\u4e0a\u53ef\u4ee5\u6392\u9664\u5f53\u524d\u7248\u672c\u5fae\u4fe1\u5ba2\u6237\u7aef\u57fa\u4e8e Electron \u8fdb\u884c\u53d1\u5c55\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2><strong>\u52a8\u6001\u8fd0\u884c\u5e93\u626b\u63cf<\/strong><\/h2>\n<p>\u524d\u9762\u63d0\u5230\u4e86\uff0c\u5f53\u524d\u56fd\u5185\u4e3b\u6d41\u5546\u4e1a\u5e94\u7528\u9664\u5f00 Electron \u5916\u4e00\u822c\u8fd8\u4f1a\u9009\u62e9 Qt \u4f5c\u4e3a\u5ba2\u6237\u7aef\u754c\u9762\u7684\u65b9\u6848\uff0c\u56e0\u6b64\u6211\u4eec\u53ef\u4ee5\u501f\u52a9 ldd \u5de5\u5177\u6765\u67e5\u770b\u5fae\u4fe1\u7a0b\u5e8f\u76ee\u5f55\u4e2d\u7684\u4e8c\u8fdb\u5236\u6267\u884c\u6587\u4ef6\u3001\u52a8\u6001\u8fd0\u884c\u5e93\u662f\u5426\u6709\u4f9d\u8d56\u5230 Qt \u7684\u5e93\u3002<\/p>\n<blockquote><p><code><span class=\"code-snippet_outer\">\u276f ldd .\/* |grep qt<br \/>\nldd: .\/ocr_model: \u4e0d\u662f\u666e\u901a\u6587\u4ef6<br \/>\nldd: .\/RadiumWMPF: \u4e0d\u662f\u666e\u901a\u6587\u4ef6<br \/>\nldd: .\/vlc_plugins: \u4e0d\u662f\u666e\u901a\u6587\u4ef6<br \/>\nldd: .\/XEditor: \u4e0d\u662f\u666e\u901a\u6587\u4ef6<br \/>\nldd: .\/XFile: \u4e0d\u662f\u666e\u901a\u6587\u4ef6<br \/>\n\u276f ldd .\/* |grep Qt<br \/>\nldd: .\/ocr_model: \u4e0d\u662f\u666e\u901a\u6587\u4ef6<br \/>\nldd: .\/RadiumWMPF: \u4e0d\u662f\u666e\u901a\u6587\u4ef6<br \/>\nldd: .\/vlc_plugins: \u4e0d\u662f\u666e\u901a\u6587\u4ef6<br \/>\nldd: .\/XEditor: \u4e0d\u662f\u666e\u901a\u6587\u4ef6<br \/>\nldd: .\/XFile: \u4e0d\u662f\u666e\u901a\u6587\u4ef6ldd: .\/XFile: \u4e0d\u662f\u666e\u901a\u6587\u4ef6<\/span><\/code><\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<p>\u4e0d\u8fc7\u5f88\u663e\u7136\u5e76\u4e0d\u80fd\u76f4\u63a5\u770b\u51fa\u6765\u6709\u548c Qt \u76f8\u5173\u7684\u70b9<\/p>\n<blockquote><p>\u276f ldd wechat |grep xcb<br \/>\nlibxcb-glx.so.0 =&gt; \/lib\/x86_64-linux-gnu\/libxcb-glx.so.0 (0x00007fb45bfbc000)<br \/>\nlibxcb-xkb.so.1 =&gt; \/lib\/x86_64-linux-gnu\/libxcb-xkb.so.1 (0x00007fb4526c2000)<br \/>\nlibxcb-randr.so.0 =&gt; \/lib\/x86_64-linux-gnu\/libxcb-randr.so.0 (0x00007fb45bfaa000)<br \/>\nlibxcb-icccm.so.4 =&gt; \/lib\/x86_64-linux-gnu\/libxcb-icccm.so.4 (0x00007fb4526bb000)<br \/>\nlibxcb-shm.so.0 =&gt; \/lib\/x86_64-linux-gnu\/libxcb-shm.so.0 (0x00007fb4526b6000)<br \/>\nlibxcb-render.so.0 =&gt; \/lib\/x86_64-linux-gnu\/libxcb-render.so.0 (0x00007fb4526a7000)<br \/>\nlibxcb-image.so.0 =&gt; \/lib\/x86_64-linux-gnu\/libxcb-image.so.0 (0x00007fb4526a1000)<br \/>\nlibxcb-xfixes.so.0 =&gt; \/lib\/x86_64-linux-gnu\/libxcb-xfixes.so.0 (0x00007fb452697000)<br \/>\nlibxcb-shape.so.0 =&gt; \/lib\/x86_64-linux-gnu\/libxcb-shape.so.0 (0x00007fb452692000)<br \/>\nlibxcb-sync.so.1 =&gt; \/lib\/x86_64-linux-gnu\/libxcb-sync.so.1 (0x00007fb452688000)<br \/>\nlibxcb-render-util.so.0 =&gt; \/lib\/x86_64-linux-gnu\/libxcb-render-util.so.0 (0x00007fb452681000)<br \/>\nlibxcb-keysyms.so.1 =&gt; \/lib\/x86_64-linux-gnu\/libxcb-keysyms.so.1 (0x00007fb45267a000)<br \/>\nlibxcb.so.1 =&gt; \/lib\/x86_64-linux-gnu\/libxcb.so.1 (0x00007fb452650000)<br \/>\nlibX11-xcb.so.1 =&gt; \/lib\/x86_64-linux-gnu\/libX11-xcb.so.1 (0x00007fb45264b000)<br \/>\nlibxcb-util.so.0 =&gt; \/lib\/x86_64-linux-gnu\/libxcb-util.so.0 (0x00007fb4519ec000)<\/p><\/blockquote>\n<p>\u5355\u72ec\u770b\u5fae\u4fe1\u4e8c\u8fdb\u5236\u90e8\u5206\u6240\u9700\u7684\u52a8\u6001\u8fd0\u884c\u5e93\u4e5f\u662f\u4ec5\u4ec5\u4ee5 xcb \u5e93\u4e3a\u4e3b\uff0c\u7b2c\u4e09\u65b9\u8fd0\u884c\u5e93\u5e76\u6ca1\u6709\u5f88\u7e41\u6742\u3002<\/p>\n<p>&nbsp;<\/p>\n<h1 style=\"text-align: center;\"><strong>\u73b2\u73d1\u5de5\u7a0b\u6784\u5efa<\/strong><\/h1>\n<h2><strong>\u6784\u5efa\u51c6\u5907<\/strong><\/h2>\n<p>\u5728\u5b8c\u6210\u524d\u9762\u7684\u51c6\u5907\u6b65\u9aa4\u540e\uff0c\u5c31\u53ef\u4ee5\u5f00\u59cb\u5c1d\u8bd5\u5c06\u5fae\u4fe1\u52a0\u5165\u5230\u6784\u5efa\u5de5\u7a0b\u4e2d\u4e86\uff0c\u4e0b\u9762\u662f\u51c6\u5907\u6b65\u9aa4\uff1a<\/p>\n<p>1. \u4e3a\u4e86\u65b9\u4fbf\u4ee5\u53ca\u4fdd\u6301\u6587\u4ef6\u6743\u9650\u4e0d\u88ab\u7834\u574f\uff0c\u6211\u8fd9\u91cc\u5c06 files \u76ee\u5f55\u63d0\u524d\u66f4\u540d\u4e3a WeChat \u5e76\u538b\u7f29\u4e3a\u5f52\u6863\u5305\uff1b<\/p>\n<p>2. \u540c\u65f6\u4e3a\u4e86\u5951\u5408\u540e\u9762\u63d0\u5230\u7684\u901a\u7528\u6a21\u677f\uff0c\u6211\u8fd9\u91cc\u5c06 applications \u548c icons \u76ee\u5f55\u653e\u5230template_app \u76ee\u5f55\u4e2d\uff1b<\/p>\n<p>3. \u521b\u5efa binary \u76ee\u5f55\uff0c\u5c06\u524d\u9762\u538b\u7f29\u7684 WeChat \u4e8c\u8fdb\u5236\u76ee\u5f55\u89e3\u538b\u5230\u6b64\u5904\u3002\u5728\u8fd9\u91cc\u6211\u5c31\u8981\u5f15\u5165\u6211\u4e07\u80fd\u7684\u6784\u5efa\u6a21\u677f\u4e86\uff0c\u5bf9\u4e8e\u6ca1\u6709\u7b2c\u4e09\u65b9\u8fd0\u884c\u5e93\u4f9d\u8d56\u7684\u4e8c\u8fdb\u5236\u7a0b\u5e8f\u6765\u8bf4\u6781\u4e3a\u5438\u5f15\u3002<\/p>\n<p>\u7ec6\u770b\u3010\u901a\u7528\u73b2\u73d1\u6784\u5efa\u5de5\u7a0b\u914d\u7f6e\u6587\u4ef6\u6a21\u677f\u3011\uff1a<a href=\"https:\/\/github.com\/OpenAtom-Linyaps\/sig-next-electron-wrapper\/blob\/main\/electron-wrapper-next\/template\/templates\/linglong.yaml\">https:\/\/github.com\/OpenAtom-Linyaps\/sig-next-electron-wrapper\/blob\/main\/electron-wrapper-next\/template\/templates\/linglong.yaml<\/a><\/p>\n<p>\u63a5\u4e0b\u6765\u8ba9\u6211\u4eec\u6765\u8fdb\u884c\u4e00\u70b9\u5c0f\u5c0f\u4f46\u5374\u6709\u5927\u5927\u6548\u679c\u7684\u4fee\u6539\u3002\u4e3a\u4e86\u9632\u6b62\u7bc7\u5e45\u8fc7\u957f\uff0c\u8fd9\u6b21\u6211\u53ea\u5c55\u793a\u5177\u4f53\u7684\u4fee\u6539\u6b65\u9aa4\u548c\u5c55\u793a\u6210\u54c1\uff0c\u5982\u679c\u5bf9\u8fd9\u4e2a\u6a21\u677f\u53ca\u601d\u8def\u611f\u6027\u7684\u8bdd\u53ef\u4ee5\u5728\u8bc4\u8bba\u533a\u4e0b\u8a00\uff0c\u968f\u7f18\u66f4\u65b0\u3002<\/p>\n<p>\u8fd9\u91cc\u6211\u4eec\u9700\u8981\u66f4\u6539\u8fd9\u51e0\u4e2a\u4e3b\u8981\u53d8\u91cf\uff1a<\/p>\n<p>1. $PACKAGE \u7528\u4f60\u60f3\u8981\u751f\u6210\u7684\u73b2\u73d1\u5e94\u7528id(\u5305\u540d)\u4ee3\u66ff<\/p>\n<p>2. $NAME \u4f7f\u7528\u5e94\u7528\u540d\u79f0\u4ee3\u66ff\uff0c\u5efa\u8bae\u82f1\u6587\u5b57\u7b26<\/p>\n<p>3. $VERSION \u4f7f\u7528\u5e94\u7528\u7248\u672c\u4ee3\u66ff\uff0c\u8981\u6c42\u56db\u4f4d\u5c0f\u6570<\/p>\n<p>4. $comment \u5e94\u7528\u7b80\u8981\u63cf\u8ff0<\/p>\n<p>&nbsp;<\/p>\n<h2><strong>\u7279\u6b8a\u4fee\u6539<\/strong><\/h2>\n<p>\u9664\u4e86\u4e0a\u8ff0\u7684\u901a\u7528\u53d8\u91cf\u5916\uff0c\u8003\u8651\u5230\u524d\u9762\u5bf9\u672c\u6b21\u7a0b\u5e8f\u7684\u8bc4\u4f30\uff0c\u56e0\u6b64\u9700\u8981\u628a--no-sandbox %U\u7684\u53c2\u6570\u53bb\u9664\uff0c\u5e76\u589e\u52a0\u4e00\u4e2a runtime \u5b57\u6bb5\uff0c\u4f7f\u752823\u7684 runtime \u3002<\/p>\n<p>inglong.yaml \u6700\u540e\u5e94\u8be5\u662f\u8fd9\u6837\u7684\uff1a<\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-35296\" src=\"https:\/\/www.deepin.org\/wp-content\/uploads\/2024\/11\/\u4f01\u4e1a\u5fae\u4fe1\u622a\u56fe_17309448879667.png\" alt=\"\" width=\"725\" height=\"637\" srcset=\"https:\/\/www.deepin.org\/wp-content\/uploads\/2024\/11\/\u4f01\u4e1a\u5fae\u4fe1\u622a\u56fe_17309448879667.png 725w, https:\/\/www.deepin.org\/wp-content\/uploads\/2024\/11\/\u4f01\u4e1a\u5fae\u4fe1\u622a\u56fe_17309448879667-300x264.png 300w, https:\/\/www.deepin.org\/wp-content\/uploads\/2024\/11\/\u4f01\u4e1a\u5fae\u4fe1\u622a\u56fe_17309448879667-150x132.png 150w, https:\/\/www.deepin.org\/wp-content\/uploads\/2024\/11\/\u4f01\u4e1a\u5fae\u4fe1\u622a\u56fe_17309448879667-24x21.png 24w, https:\/\/www.deepin.org\/wp-content\/uploads\/2024\/11\/\u4f01\u4e1a\u5fae\u4fe1\u622a\u56fe_17309448879667-36x32.png 36w, https:\/\/www.deepin.org\/wp-content\/uploads\/2024\/11\/\u4f01\u4e1a\u5fae\u4fe1\u622a\u56fe_17309448879667-48x42.png 48w\" sizes=\"(max-width: 725px) 100vw, 725px\" \/><\/p>\n<p>\u6b64\u65f6\u4f60\u7684\u73b2\u73d1\u6784\u5efa\u5de5\u7a0b\u9879\u76ee\u7ed3\u6784\u5e94\u8be5\u662f\u8fd9\u6837\u7684\uff08\u8fd9\u662f2\u7ea7\u5c55\u793a\uff0c\u4e0d\u4ee3\u8868\u76ee\u5f55\u4e3a\u7a7a\uff01\uff09\uff1a<\/p>\n<blockquote><p>.<br \/>\n\u251c\u2500\u2500 binary<br \/>\n\u2502 \u2514\u2500\u2500 WeChat<br \/>\n\u251c\u2500\u2500 linglong.yaml<br \/>\n\u251c\u2500\u2500 template_app<br \/>\n\u2502 \u251c\u2500\u2500 applications<br \/>\n\u2502 \u2514\u2500\u2500 icons<\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<h2><strong>desktop \u6587\u4ef6\u4fee\u6539<\/strong><\/h2>\n<p>\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c\u524d\u9762\u8bbe\u7f6e\u7684 template_app\/applications \u4e2d\u7684 desktop \u6587\u4ef6\u4e2d\u4ecd\u4e3a\u5386\u53f2\u5185\u5bb9\uff0c\u8fd9\u91cc\u6211\u4eec\u9700\u8981\u4fee\u6539\u4e3a\u73b2\u73d1\u5e94\u7528\u6240\u7528\u5230\u7684\u5185\u5bb9\u3002<\/p>\n<p>\u5728\u672c\u6b21\u6a21\u677f\u4e2d\uff0c\u6211\u4eec\u4ec5\u9700\u4fee\u6539Exec\u5b57\u6bb5\uff0c\u4f7f\u672c\u5b57\u6bb5\u7684\u503c\u4e0e linglong.yaml \u4e2d\u7684 command \u5185\u5bb9\u4e00\u81f4\u3002<\/p>\n<p>linglong.yaml\u4e2d\u7684command\u5185\u5bb9:<\/p>\n<blockquote><p>command:<br \/>\n- \/opt\/apps\/com.tencent.wechat\/files\/bin\/start.sh<\/p><\/blockquote>\n<p>template_app\/applications\/com.tencent.wechat.desktop\u7684\u5185\u5bb9\uff1a<\/p>\n<blockquote>[Desktop Entry]\n<p>Name[zh_CN]=\u5fae\u4fe1<\/p>\n<p>Name=WeChat<\/p>\n<p>Exec=\/opt\/apps\/com.tencent.wechat\/files\/bin\/start.sh %U<\/p>\n<p>Icon=com.tencent.wechat<\/p>\n<p>Type=Application<\/p>\n<p>Categories=Network;<\/p>\n<p>Comment=\u5fae\u4fe1\u684c\u9762\u7248<\/p>\n<p>StartupNotify=true<\/p>\n<p>Terminal=false<\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<h2><strong>\u5f00\u59cb\u6784\u5efa<\/strong><\/h2>\n<p>\u5b8c\u6210\u4e0a\u9762\u7684\u6b65\u9aa4\u4e4b\u540e\uff0c\u5c31\u53ef\u4ee5\u76f4\u63a5\u6267\u884c\u6784\u5efa\u4e86\uff0c\u524d\u63d0\u662f\u4f60\u4e4b\u524d\u5df2\u7ecf\u88c5\u597d\u4e86ll-builder\u3002<\/p>\n<p>\u5728\u6784\u5efa\u5de5\u7a0b\u6839\u76ee\u5f55\u6267\u884c ll-builder build -v \uff0c\u770b\u5230 successfully \u5c31\u610f\u5473\u7740\u6784\u5efa\u6210\u529f\u4e86\uff0c\u53ef\u4ee5\u901a\u8fc7 ll-builder export --layer \u5bfc\u51fa\u4e3a layer \u6587\u4ef6\uff0c\u5feb\u6765\u8bd5\u8bd5\u5427\u3002<\/p>\n<blockquote><p>* \u672c\u6587\u4e2d\u63d0\u53ca\u5fae\u4fe1\u7a0b\u5e8f\u6240\u4f7f\u7528\u7684\u5f00\u53d1\u6280\u672f\u6216\u4efb\u4f55\u975e\u5b98\u65b9\u901a\u544a\u7684\u4fe1\u606f\u5747\u4e0e\u5fae\u4fe1\u5f00\u53d1\u56e2\u961f\u65e0\u5173\uff0c\u65e0\u6cd5\u4fdd\u969c\u4fe1\u606f\u51c6\u786e\u6027\u3002\u6587\u7ae0\u5185\u5bb9\u4ee5\u53ca\u73b2\u73d1\u6784\u5efa\u5747\u6765\u81ea\u4e8e\u73b2\u73d1\u5f00\u6e90\u793e\u533a\u3002<\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<h1><strong>\u76f8\u5173\u9605\u8bfb\uff1a<\/strong><\/h1>\n<p>\uff081\uff09<a href=\"https:\/\/distrowatch.com\/table.php?distribution=deepin\">deepin - \u56fd\u9645\u6392\u540d\u67e5\u770b<\/a><\/p>\n<p>\uff082\uff09<a href=\"https:\/\/www.deepin.org\/zh\/wechat-4-0\/\">deepin \u4e0a\u67b6\u5fae\u4fe1 4.0 \u516c\u6d4b\u7248\uff0c\u529f\u80fd\u66f4\u65b0 List<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<article id=\"post-35267\" class=\"post-35267 post type-post status-publish format-standard hentry category-technology-sharing\">\n<div class=\"entry-content\">\n<p style=\"text-align: right;\">\u5185\u5bb9\u6765\u6e90\uff1a\u5982\u610f\u73b2\u73d1\u793e\u533a<\/p>\n<p style=\"text-align: right;\">\u8f6c\u8f7d\u8bf7\u6ce8\u660e\u51fa\u5904<\/p>\n<\/div>\n<\/article>","protected":false},"excerpt":{"rendered":"<p>\u5fae\u4fe14.0\u00a0\uff08\u73b2\u73d1\u7248\uff09\u5df2\u4e0a\u67b6\u5982\u610f\u73b2\u73d1\u5e94\u7528\u5546\u5e97\uff01\uff01\uff01 \u524d\u4e24\u5929\u5fae\u4fe1 Linux \u63a8\u51fa\u4e86\u5168\u65b0 4.0 \u7248\u672c\uff0c\u636e\u8bf4\u8fd9\u6b21\u91cd\u5927\u7248\u672c\u66f4\u65b0\uff0c\u5728\u8de8\u53d1\u884c\u7248\u4f53\u9a8c\u4e0a\u6709\u4e86\u8d28\u7684\u98de\u8dc3\u3002 \u5728\u6211\u5b89\u88c5\u8bd5\u7528\u524d\uff0c\u65e9\u5728\u574a\u95f4\u5c31\u6709\u4f20\u95fb\u8bf4\u4e3b\u8981\u7279\u6027\u6709\u8fd9\u51e0\u9879\uff1a 1. \u4e0e Windows \u5e73\u53f0\u534f\u540c\u5207\u6362\u4e3a Qt \u754c\u9762\u5e93\uff1b 2. Linux \u5e73\u53f0\u5168\u9762\u5f00\u653e\u516c\u6d4b\uff0c\u666e\u901a\u7528\u6237\u5373\u53ef\u76f4\u63a5\u901a\u8fc7\u5fae\u4fe1 Linux PC \u7248\u672c\u767b\u5f55\uff1b 3. \u7591\u4f3c\u6709\u66f4\u591a\u5982 Ubuntu \u7684\u7b2c\u4e09 ...<a href=https:\/\/www.deepin.org\/zh\/wechat-4-0-linyaps\/>\u9605\u8bfb\u66f4\u591a<\/a><\/p>\n","protected":false},"author":11164,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[75,155],"tags":[],"_links":{"self":[{"href":"https:\/\/www.deepin.org\/zh\/wp-json\/wp\/v2\/posts\/35293"}],"collection":[{"href":"https:\/\/www.deepin.org\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.deepin.org\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.deepin.org\/zh\/wp-json\/wp\/v2\/users\/11164"}],"replies":[{"embeddable":true,"href":"https:\/\/www.deepin.org\/zh\/wp-json\/wp\/v2\/comments?post=35293"}],"version-history":[{"count":2,"href":"https:\/\/www.deepin.org\/zh\/wp-json\/wp\/v2\/posts\/35293\/revisions"}],"predecessor-version":[{"id":35298,"href":"https:\/\/www.deepin.org\/zh\/wp-json\/wp\/v2\/posts\/35293\/revisions\/35298"}],"wp:attachment":[{"href":"https:\/\/www.deepin.org\/zh\/wp-json\/wp\/v2\/media?parent=35293"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.deepin.org\/zh\/wp-json\/wp\/v2\/categories?post=35293"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.deepin.org\/zh\/wp-json\/wp\/v2\/tags?post=35293"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}