<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.9.5">Jekyll</generator><link href="https://ni-hao250.github.io/feed.xml" rel="self" type="application/atom+xml" /><link href="https://ni-hao250.github.io/" rel="alternate" type="text/html" /><updated>2024-06-18T20:30:55-07:00</updated><id>https://ni-hao250.github.io/feed.xml</id><title type="html">ni_hao</title><subtitle>personal description</subtitle><author><name>ni_hao/ni-hao250</name><email>ni_hao110418@163.com</email></author><entry><title type="html">Typora破解指南</title><link href="https://ni-hao250.github.io/posts/2024/05/Typora%E7%A0%B4%E8%A7%A3%E6%8C%87%E5%8D%97/" rel="alternate" type="text/html" title="Typora破解指南" /><published>2199-01-01T00:00:00-08:00</published><updated>2199-01-01T00:00:00-08:00</updated><id>https://ni-hao250.github.io/posts/2024/05/Typora%E7%A0%B4%E8%A7%A3%E6%8C%87%E5%8D%97</id><content type="html" xml:base="https://ni-hao250.github.io/posts/2024/05/Typora%E7%A0%B4%E8%A7%A3%E6%8C%87%E5%8D%97/"><![CDATA[<h1 id="typora破解指南">Typora破解指南</h1>

<h2 id="目录">目录</h2>

<ul>
  <li>Typora破解指南
    <ul>
      <li>目录</li>
      <li>下载</li>
      <li>激活</li>
      <li>关闭已激活弹窗</li>
      <li>去除左下角“未激活”提示</li>
      <li>激活完毕</li>
      <li>最后</li>
    </ul>
  </li>
</ul>

<h2 id="下载">下载</h2>

<p>在Typora中国官网<a href="https://typoraio.cn/">typoraio.cn</a>下载，并安装。</p>

<h2 id="激活">激活</h2>

<p>找到Typora安装目录的这个文件(右键桌面图标，打开文件位置)。</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>resources\page-dTist\static\js\LicenseIndex.**********.********.chunk.js
</code></pre></div></div>

<p><code class="language-plaintext highlighter-rouge">*</code>是数字，每个人的都不一样，主要看前面的<code class="language-plaintext highlighter-rouge">LicenseIndex.</code>和后面的<code class="language-plaintext highlighter-rouge">.chunk.js</code>，有很多名字相似的文件，<strong>注意分辨</strong>！</p>

<p>用<strong>记事本</strong>打开它(不需要其他文本编辑器)，点开<code class="language-plaintext highlighter-rouge">编辑</code>，</p>

<p>查找<code class="language-plaintext highlighter-rouge">e.hasActivated="true"==e.hasActivated,</code></p>

<p>替换为<code class="language-plaintext highlighter-rouge">e.hasActivated="true"=="true",</code></p>

<p>保存文件失败的话，可以先保存到桌面，再去替换原来的文件。</p>

<h2 id="关闭已激活弹窗">关闭已激活弹窗</h2>

<p>在安装目录找到<code class="language-plaintext highlighter-rouge">resources\page-dist\license.html</code>，</p>

<p>用<strong>记事本</strong>打开，</p>

<p>查找<code class="language-plaintext highlighter-rouge">&lt;/body&gt;&lt;/html&gt;</code>，</p>

<p>替换为<code class="language-plaintext highlighter-rouge">&lt;/body&gt;&lt;script&gt;window.onload=function(){setTimeout(()=&gt;{window.close();},5);}&lt;/script&gt;&lt;/html&gt;</code>，</p>

<p>也可以理解为在<code class="language-plaintext highlighter-rouge">&lt;/body&gt;</code>和<code class="language-plaintext highlighter-rouge">&lt;/html&gt;</code>之间插入<code class="language-plaintext highlighter-rouge">&lt;script&gt;window.onload=function(){setTimeout(()=&gt;{window.close();},5);}&lt;/script&gt;</code>。</p>

<h2 id="去除左下角未激活提示">去除左下角“未激活”提示</h2>

<p>在Typora安装目录找到<code class="language-plaintext highlighter-rouge">resources\locales\zh-Hans.lproj\Panel.json</code></p>

<p>查  找<code class="language-plaintext highlighter-rouge">"UNREGISTERED":"未激活",</code></p>

<p>替换为<code class="language-plaintext highlighter-rouge">"UNREGISTERED":" ",</code></p>

<p>或删掉<code class="language-plaintext highlighter-rouge">未激活</code>。</p>

<h2 id="激活完毕">激活完毕</h2>

<p>在激活完后，点击打开或打开许可证总是会跳出一个弹窗，提示错误，只要点击选项中的<code class="language-plaintext highlighter-rouge">-&gt;Learn Data Recovery</code>就好了。</p>

<h2 id="最后">最后</h2>

<p>该指南适用于2024。后续未知。</p>]]></content><author><name>ni_hao/ni-hao250</name><email>ni_hao110418@163.com</email></author><category term="Cracki" /><category term="Guide" /><summary type="html"><![CDATA[Typora破解指南]]></summary></entry></feed>