马春杰杰 Exit Reader Mode

如何屏蔽微信自动升级

桌面端的微信首先会检查是否有更新,如果有,那就更新,这一点你在设置里面是改不了的,我对微信的流量进行了抓包测试,发现它在检查更新的时候会指向:

https:/dldir1.qq.com/weixin/mac/mac-release.xml?t=1709464547.366097

这个网址里面就包含了当前最新的微信版本,所以解决方法很简单,在hosts文件中将dldir1.qq.com指向127.0.0.1即可~

下面是该网址的内容:

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<rss xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
<channel>
<title>Mac Wechat</title>
<link>https://mac.weixin.qq.com</link>
<description>Most recent changes with links to updates.</description>
<language>en</language>
<item>
<title>3.8.6.18</title>
<description xml:lang="en">
<![CDATA[ <h2> 3.8.6.18</h2> <li> Bug fixes and improvements.</li> ]]>
</description>
<description xml:lang="zh-Hans">
<![CDATA[ <h2> 3.8.6.18</h2> <li> 修复了一些已知问题。</li> ]]>
</description>
<description xml:lang="zh-Hant">
<![CDATA[ <h2> 3.8.6.18</h2> <li> 修復了一些已知問題。</li> ]]>
</description>
<pubDate>Wed, 27 Dec 2023 16:43:57 +0800</pubDate>
<enclosure url="https://dldir1.qq.com/weixin/mac/WeChatMac.dmg?t=1703665542" sparkle:version="28078" sparkle:shortVersionString="3.8.6.18" length="368305629" type="application/octet-stream" sparkle:dsaSignature="MC4CFQCzPtBl1dEP0ztp/mq1SjZV4DAj4AIVAJlg1++omkAb29ZIToDJQDiFQLaG" sparkle:md5="895906b0e683ea79642c4cf3bc9607ad"/>
<sparkle:deltas>
<enclosure url="https://dldir1.qq.com/weixin/mac/WeChatMac3.8.6.18_28078-3.8.6.17_28076.delta" sparkle:deltaFrom="28076" sparkle:shortVersionString="3.8.6.18" length="7995414" type="application/octet-stream" sparkle:dsaSignature="MC4CFQC5dYsLOdu/jBz6NNcvYsj6a8YZOQIVAKwUkwtbHHmdOrjlloP8ZZqVUDzy"/>
<enclosure url="https://dldir1.qq.com/weixin/mac/WeChatMac3.8.6.18_28078-3.8.5.18_27886.delta" sparkle:deltaFrom="27886" sparkle:shortVersionString="3.8.6.18" length="54654418" type="application/octet-stream" sparkle:dsaSignature="MCwCFHW+sGOrAEL9F5+0tYlnwgDeqMW1AhRUs1RHXPlxKThNGy8kOgJ4aYycmw=="/>
<enclosure url="https://dldir1.qq.com/weixin/mac/WeChatMac3.8.6.18_28078-3.8.5.17_27885.delta" sparkle:deltaFrom="27885" sparkle:shortVersionString="3.8.6.18" length="54670510" type="application/octet-stream" sparkle:dsaSignature="MC0CFQDPkvWjAmYEDqGURuu6AY69gmnVAgIUVvZ/nrrI8M1HP6Y9gv8CPn8oS30="/>
<enclosure url="https://dldir1.qq.com/weixin/mac/WeChatMac3.8.6.18_28078-3.8.4.20_27738.delta" sparkle:deltaFrom="27738" sparkle:shortVersionString="3.8.6.18" length="68593414" type="application/octet-stream" sparkle:dsaSignature="MC4CFQCkLR0fIuZhZn34M8Rx9tmjNonXggIVAOjUYnecOeDq1QQaLpn2O+GLN8cm"/>
<enclosure url="https://dldir1.qq.com/weixin/mac/WeChatMac3.8.6.18_28078-3.8.4.19_27732.delta" sparkle:deltaFrom="27732" sparkle:shortVersionString="3.8.6.18" length="69311854" type="application/octet-stream" sparkle:dsaSignature="MC4CFQDqIkCZqN7J97IU+KdukA15iwyxGQIVAKLUsUhPpVKeZhHKe/huN84cfCEi"/>
<enclosure url="https://dldir1.qq.com/weixin/mac/WeChatMac3.8.6.18_28078-3.8.4.18_27727.delta" sparkle:deltaFrom="27727" sparkle:shortVersionString="3.8.6.18" length="69253734" type="application/octet-stream" sparkle:dsaSignature="MC4CFQDoYceZ0XUwLr9Hcj7tC8sAt623swIVAIdbhb3OZ0ea+6wjqA40v7SJzPta"/>
<enclosure url="https://dldir1.qq.com/weixin/mac/WeChatMac3.8.6.18_28078-3.8.4.17_27725.delta" sparkle:deltaFrom="27725" sparkle:shortVersionString="3.8.6.18" length="69238774" type="application/octet-stream" sparkle:dsaSignature="MCwCFBsnI03hVmgYiTS8xDjcvcmRDwg6AhR7VxRumzxie5a9iOFXKFlkGtakBQ=="/>
</sparkle:deltas>
<sparkle:version>28078</sparkle:version>
<sparkle:phasedRolloutInterval>0</sparkle:phasedRolloutInterval>
<sparkle:minimumSystemVersion>10.13</sparkle:minimumSystemVersion>
</item>
<item>
<title>3.8.2.21</title>
<description xml:lang="en">
<![CDATA[ <h2> 3.8.2.21</h2> <li> Bug fixes and improvements.</li> ]]>
</description>
<description xml:lang="zh-Hans">
<![CDATA[ <h2> 3.8.2.21</h2> <li> 修复了一些已知问题。</li> ]]>
</description>
<description xml:lang="zh-Hant">
<![CDATA[ <h2> 3.8.2.21</h2> <li> 修復了一些已知問題。</li> ]]>
</description>
<pubDate>Tue, 22 Aug 2023 13:46:32 +0800</pubDate>
<enclosure url="https://dldir1.qq.com/weixin/mac/WeChatMac_382.dmg" sparkle:version="27317" sparkle:shortVersionString="3.8.2.21" length="352516168" type="application/octet-stream" sparkle:dsaSignature="MC0CFQDuyd+q8uo6rL1c4qNqeA/3cDBDvAIULd/RjjI7YMBWQwq0oo/SBFMfXhI=" sparkle:md5="448062a6b0a50027733906e30e41d11f"/>
<sparkle:version>27317</sparkle:version>
<sparkle:phasedRolloutInterval>86400</sparkle:phasedRolloutInterval>
<sparkle:minimumSystemVersion>10.12</sparkle:minimumSystemVersion>
</item>
<item>
<title>3.4.1.17</title>
<description xml:lang="en">
<![CDATA[ <h2> 3.4.1.17</h2> <li> Bug fixes and improvements.</li> ]]>
</description>
<description xml:lang="zh-Hans">
<![CDATA[ <h2> 3.4.1.17</h2> <li> 修复了一些已知问题。</li> ]]>
</description>
<description xml:lang="zh-Hant">
<![CDATA[ <h2> 3.4.1.17</h2> <li> 修復了一些已知問題。</li> ]]>
</description>
<pubDate>Thu, 02 Jun 2022 15:22:37 +0800</pubDate>
<enclosure url="https://dldir1.qq.com/weixin/mac/WeChatMac_10_11.dmg" sparkle:version="21938" sparkle:shortVersionString="3.4.1.17" length="169643054" type="application/octet-stream" sparkle:dsaSignature="MCwCFFxZXkv4Pw0kvDH775w0E8AghXK+AhRFIw0MJZv2XdliiyRuMjqiWrCNfw==" sparkle:md5="f6760d8345d2cc87b097ea891328eae7"/>
<sparkle:phasedRolloutInterval>86400</sparkle:phasedRolloutInterval>
<sparkle:minimumSystemVersion>10.11</sparkle:minimumSystemVersion>
</item>
<item>
<title>2.3.31.22</title>
<description xml:lang="en">
<![CDATA[ <h2>2.3.31.22</h2> <li> Fixed various bugs;</li> ]]>
</description>
<description xml:lang="zh-Hans">
<![CDATA[ <h2>2.3.31.22</h2> <li>修复了一些已知问题;</li> ]]>
</description>
<description xml:lang="zh-Hant">
<![CDATA[ <h2>2.3.31.22</h2> <li> 修復了一些已知問題</li> ]]>
</description>
<pubDate>2020-05-21 18:40:20</pubDate>
<enclosure url="https://dldir1.qq.com/weixin/mac/WeChatMac_10_10.dmg" sparkle:version="13425" sparkle:shortVersionString="2.3.31.22" length="33457380" type="application/octet-stream" sparkle:dsaSignature="MC0CFQCb/M1dbbxrENJxmFrqPgJoaVJPtAIUHC/sMPXL1iJmrF6p+Cn8R+XNPqI=" sparkle:md5="f6923955df322302a68167fa8f3078ac"/>
<sparkle:maximumSystemVersion>10.10.6</sparkle:maximumSystemVersion>
</item>
</channel>
</rss>