linux下下载typora太慢了,只能直接下binary文件。就是一个压缩包
首先,app路径在/usr/share/applications下面
我们需要创建一个.desktop文件然后/cp到以上路径下。
模板
[Desktop Entry]
Name=Typora
Comment=View information about your system
Exec=/home/hanbao/apps/Typora-linux-x64/bin/Typora-linux-x64/Typora
# Translators: Do NOT translate or transliterate this text (this is an icon file name)!
Icon=/home/hanbao/apps/Typora-linux-x64/bin/Typora-linux-x64/resources/app/asserts/icon/icon_512x512@2x.png
Terminal=false
Type=Application