Ubuntu下Typora的安装与配置激活

下载:

在终端中输入如下命令:

复制代码
wget -qO - https://typoraio.cn/linux/public-key.asc | sudo tee /etc/apt/trusted.gpg.d/typora.asc

sudo add-apt-repository 'deb https://typoraio.cn/linux ./'

sudo apt-get update

sudo apt-get install typora

出现下图就ok啦。

屏幕左下角点击就能找到啦。

激活:

复制代码
git clone https://github.com/hazukieq/Yporaject.git

sudo apt  install cargo

cd Yporaject/

cargo build

这一步成功的结果:

复制代码
ls target/debug
##看看结果有没有 node_inject
cargo run
sudo cp target/debug/node_inject /usr/share/typora

上边的终端别关,新开终端:

复制代码
cd /usr/share/typora/
sudo chmod 777 node_inject
sudo ./node_inject 
##下方将打印就对啦
extracting node_modules.asar
adding hook.js
applying patch
packing node_modules.asar
done!
##

返回之前的终端:

复制代码
cd license-gen/
cargo build
cargo  run

得到激活码结果:

然后去Typora界面激活就好啦。

有能力建议支持正版!

相关推荐
物联网老王2 小时前
Ubuntu Linux Cursor 安装与使用一
linux·运维·ubuntu
一位摩羯座DBA4 小时前
Redhat&Centos挂载镜像
linux·运维·centos
学习3人组4 小时前
CentOS配置网络
linux·网络·centos
weixin_307779134 小时前
Hive集群之间迁移的Linux Shell脚本
大数据·linux·hive·bash·迁移学习
漫步企鹅5 小时前
【蓝牙】Linux Qt4查看已经配对的蓝牙信息
linux·qt·蓝牙·配对
cui_win5 小时前
【网络】Linux 内核优化实战 - net.core.flow_limit_table_len
linux·运维·网络
梦在深巷、5 小时前
MySQL/MariaDB数据库主从复制之基于二进制日志的方式
linux·数据库·mysql·mariadb
冰橙子id6 小时前
linux系统安全
linux·安全·系统安全
stark张宇6 小时前
VMware 虚拟机装 Linux Centos 7.9 保姆级教程(附资源包)
linux·后端
Johny_Zhao6 小时前
Ubuntu系统安装部署Pandawiki智能知识库
linux·mysql·网络安全·信息安全·云计算·shell·yum源·系统运维·itsm·pandawiki