obgnail / typora_plugin

Typora plugin. Feature enhancement tool | Typora 插件,功能增强工具
MIT License
1.62k stars 80 forks source link

找不到window.html #757

Closed Haoran-01 closed 2 hours ago

Haoran-01 commented 2 hours ago

我是ubuntu系统,我下载的正版的typora安装路径里面找不到window.html

obgnail commented 2 hours ago

@Haoran-01

你好,感谢反馈。大概率是你找错目录了

Windows / Linux 版本的 Typora 都是基于 eletron,目录结构是一样,都是在 your_typora_folder/resources/window.html

其目录结构如下:

# obgnail @ LAPTOP-UN081M8S in /mnt/d/tmp/Typora-linux-x64-1.9.3.tar/Typora-linux-x64-1.9.3/bin/Typora-linux-x64/resources [0:59:47]
$ tree -L 1
.
├── app.asar
├── app.asar.unpacked
├── appsrc
├── assets
├── conf.default.json
├── Docs
├── html
├── lib.asar
├── locales
├── node_modules
├── node_modules.asar
├── package.json
├── page-dist
├── style
├── updater
└── window.html          <- target file

10 directories, 6 files

如果还是找不到,执行以下命令

find / -type f -name window.html -wholename '*/resources/window.html'