破解用到的工具下载地址
https://github.com/wuyoukm/typoraCracker
第一步
1 | python typora.py /usr/share/typora/resources/app.asar workstation/outfil |
第二步
需要你把typoraCracker\example\patch下的License.js替换刚才生成的在dec_app里面的License.js,然后再进行下面这步python typora.py -u workstation/outfile/dec_app workstation/outappasar
1 | cp License.js /home/ddm/my_tools/typoraCracker-master/workstation/outfile/dec_app |
第三步
1 | python typora.py -u workstation/outfile/dec_app workstation/outappasar |
替换掉app.asar
1 | sudo mv /usr/share/typora/resources/app.asar /usr/share/typora/resources/app.asar.bak |
本地生成序列号
node keygen.js
激活成功
序列号:本地生成的那个