Usage

  1. Install Python and download the code

  2. Open terminal in the code folder

  3. Enter the following commands

    You’d better turn on the proxy to install dependency

    Replace {installRoot} with your installation directory

    1
    2
    3
    4
    5
    pip install -r requirements.txt
    python typora.py "{installRoot}\Typora\resources\app.asar" outfile/
    Copy-Item example/patch/License.js outfile/dec_app
    python typora.py -u outfile/dec_app outfile/
    node example/keygen.js

Output info: XXXXXX-XXXXXX-XXXXXX-XXXXXX
Then replace Typora/resources/app.asar with outfile/app.asar
Copy-Item outfile/app.asar {installRoot}\Typora\resources\app.asar

  1. Open and activate Typora

    Input your email and the keygen above
    Input info:

    1
    2
    email: [email protected]
    serial: XXXXXX-XXXXXX-XXXXXX-XXXXXX

Test

End

Via https://www.52pojie.cn/thread-1553967-1-1.html