typora_crack.md

原文链接

https://github.com/DiamondHunters/NodeInject_Hook_example

https://github.com/abrance/NodeInject_Hook_example

材料

Ubuntu22.04

typora 1.7.6

win10

todo

步骤

Ubuntu

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
git clone https://github.com/abrance/NodeInject_Hook_example.git
git clone https://github.com/abrance/NodeInject.git

# 回退一个版本
cd NodeInject_Hook_example && git reset --hard 81f8612
cp NodeInject_Hook_example/hook.js NodeInject/src/hooklog.js

cd NodeInject && cargo build
cd NodeInject_Hook_example/license-gen && cargo build

cp NodeInject/target/debug/node_inject /usr/share/typora

# 执行
# 第一步 执行注入
cd /usr/share/typora/ && sudo ./node_inject
# 看到下面结果为正常
# extracting node_modules.asar
# adding hook.js
# applying patch
# packing node_modules.asar
# done!
# 第二步 生成激活码
sudo NodeInject_Hook_example/license-gen/target/debug/license-gen

# 第三步 打开 typora 填入激活码激活

typora_crack.md
https://abrance.github.io/2023/11/14/resource/typora_pandoc_picgo/typora_crack/
Author
xiaoy
Posted on
November 14, 2023
Licensed under