NoSQLBooster for MongoDB破解
<blockquote><p>NoSQLBooster for MongoDB 基于 Electro 编写 asar 打包,所以我们能够解包修改代码并重新打包。</p>
</blockquote>
<h3 id="1安装工具">1.安装工具</h3>
<pre><code class="language-.bash">npm install asar -g
</code></pre>
<h3 id="2解包">2.解包</h3>
<p>进入 /Applications/NoSQLBooster for MongoDB.app/Contents/Resources</p>
<pre><code class="language-.bash">asar extract app.asar app
</code></pre>
<h3 id="3修改-appsharedlmcorejs-里的-max_trial_days-和-trial_days-值">3.修改 app\shared\lmCore.js 里的 MAX_TRIAL_DAYS 和 TRIAL_DAYS 值</h3>
<pre><code class="language-.bash">MAX_TRIAL_DAYS=999999,TRIAL_DAYS=999999
</code></pre>
<h3 id="4打包打包完之后删除-app-文件夹">4.打包,打包完之后删除 app 文件夹</h3>
<pre><code class="language-.bash">asar pack app app.asar
</code></pre>
<h3 id="5重启软件效果如下">5.重启软件,效果如下</h3>
<p><img src="https://cdn.nlark.com/yuque/0/2021/png/659781/1624432089519-a1408587-78a8-4ae3-bc65-ce076b094ad9.png#clientId=ua4711952-fb81-4&from=paste&height=180&id=u58db8dd3&margin=%5Bobject%20Object%5D&name=image.png&originHeight=360&originWidth=1154&originalType=binary&ratio=2&size=57963&status=done&style=none&taskId=u751ae5ce-c3ae-49f9-a204-9998df04616&width=577"></p>
</div>
<div id="MySignature" role="contentinfo">
知行合一<br><br>
来源:https://www.cnblogs.com/lucky9322/p/14922842.html
頁:
[1]