Comments (12)
艹,低级失误 😂
from typora_plugin.
唉,看来自动升级这个东西就没有人用过,从来没有人跟我反馈过这个问题。
你在 D:\Program Files\Typora\resources\plugin\window_tab 目录下创建一个空内容的 save_tabs.json,再重新运行一下插件,应该就可以了。
from typora_plugin.
还有个小建议,不值当讲不当讲, 就是更新源建议新增gitee,这样不会vpn的小伙伴也可以更快速的更新.
from typora_plugin.
我在 1.4.10 加了【自动静默更新】选项了。
默认会在打开 Typora 5 分钟后自动执行静默升级流程(自动升级时并不会弹窗回显当前进度)
[pluginUpdater.config]
# 打开Typora时自动静默升级(若为false,则start_update_interval配置失效)
auto_update = true
# 打开Typora多长时间后,开始执行升级流程(单位:ms)
start_update_interval = 300000 # (1000 * 60 * 5)
from typora_plugin.
@pro911
你好,感谢反馈。
是我没有说明白吗?不用手动升级呀。
我把【升级插件】做成了一个插件,所以正常的升级流程是:常用插件 -> 自定义插件 -> 更新插件
(之前的是 启用插件 -> 自定义插件 -> 更新插件
)。
如此,会自动下载安装包,并且自动保留用户的 settings.user.toml 和 custom_plugin.user.toml 和 用户写的自定义插件(我就是为了能支持自动升级才拆分出这两个文件的呀)
整个流程是一键完成的。
from typora_plugin.
可能是我电脑配置没配置好,默认的配置无法使用报错.
报错截图:
from typora_plugin.
看到你的图片,我猜到了原因了,应该是我自动升级脚本没有写好。不好意思。
cd 后面的路径没有加引号导致的。
我晚上会上一个修复版本。之后应该不会出现此问题了,能支持一键化更新了。
from typora_plugin.
修复上了 1.4.8,能帮忙测试一下吗?应该没有问题了。
from typora_plugin.
如果可以的话,应该是你最后一次修改手动配置文件了 😂
from typora_plugin.
fix:
- 更新失败 好像是这个文件没了.
save_tabs.json
注意: 请勿通过手动执行updater.exe更新插件
更新插件中,请稍等
[step 1] new updater
[step 2] check whether need update
[step 3] download latest version
[step 4] unzip file
[step 5] adjust files
panic: CreateFile D:\Program Files\Typora\resources\plugin\window_tab\save_tabs.json: The system cannot find the file specified.
goroutine 1 [running]:
main.main()
D:/golang/src/github.com/obgnail/typora_plugin/plugin/updater/updater.go:574 +0x21c
from typora_plugin.
- 1.4.9 解决 save_tabs.json 的问题(很不好意思的说,这个 BUG 其实是 1.4.0 重构引入的),后续更新只要一键操作就行了。
- 感谢建议。我考虑一下。
- 最后想问一下,你觉得【自动更新插件】这个功能要不要做,还是说做成一个配置选项?大概就是每次打开 Typora 就自动检测,执行升级流程。有些用户也这样跟我建议。
from typora_plugin.
我觉着都可以,自动更新确实更加简单,做成配置项让用户可以关闭. 在保留手动更新保留就更完美了.自动更新毕竟会消耗一些时间,所以要看用户习惯.
1.4.9 测试过了 可以更新成功了.目前看可以满足升级了奈斯!
from typora_plugin.
Related Issues (20)
- 自动编号问题 HOT 8
- 0.9.98版本 安装包 HOT 3
- 大纲目录无法折叠,高亮语法无法使用 HOT 3
- 使用增强导出时提示没有这个文件或者路径 HOT 2
- window_tab 的宽度没有跟随 sidebar 的展开/收缩而变化 HOT 10
- [求助]插件主题与hexo主题同步问题 HOT 3
- 怎么引用公式、图、表 HOT 1
- 直达顶部和直达底部按钮无效 HOT 6
- 网络图片本地化
- 暗黑模式思维导图看不了 HOT 1
- 升级失败问题 HOT 11
- 希望 图片管理 功能,可以过滤掉非图片文件链接 HOT 21
- 希望能更新mermaid版本,当前mermaid版本不支持数据包图语法 HOT 1
- 标题折叠误触发 HOT 3
- 不是哥们 HOT 2
- 插件几个窗口界面显示层级的调整 HOT 5
- 安装插件后,可否保持标题与原生一样 HOT 4
- 目前插件适合的 typora 最新版本是哪一个 HOT 3
- 中英文混排优化处理`<br />` HOT 2
- 使用文件模板时只能点击确定创建文件,按回车会直接关闭typora HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from typora_plugin.