From 30416fe446932ee9fc5f2b83477063be50cdbc20 Mon Sep 17 00:00:00 2001 From: mdwriter-09idI Date: Tue, 28 Nov 2023 03:54:31 +0800 Subject: [PATCH] chore: release v0.12.0 --- README.md | 8 +++++--- src/renderer/src/server/Share.tsx | 8 ++++++-- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 9c2186fc..b212d163 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,10 @@ A WYSIWYG markdown editor. improving the Markdown reading and editing experience +[documentation](https://doc.bluemd.me/book/docs/introduction) | [中文文档](https://doc.bluemd.me/book/zh-docs/introduction) + +> The release time of mac store will be delayed by 1-3 days + *** # Introduction @@ -14,8 +18,6 @@ Unlike source code mode, Bluestone is more like a rich text editor, and it uses The reason for this is that bluestone wants to maintain the universality and cross-platform features of Markdown, and add a rich text editing experience on this basis. -[documentation](https://pb.bluemd.me/official/book/docs/introduction) - ![](./docs/assets/d1.png) ![](./docs/assets/syntax.gif) @@ -32,7 +34,7 @@ and add a rich text editing experience on this basis. - Support exporting html and pdf. - Can drag document elements to change their order. - Supports pasting of HTML, markdown code, and plain text, when pasting HTML, it will automatically download the images in the HTML and convert the path. -- Through simple configuration, it is easy to synchronize the markdown documents generated by the editor to your own server or cloud storage, making it easy to quickly share documents with others. +- Through simple configuration, it is easy to synchronize the markdown documents generated by the editor to your own server, making it easy to quickly share documents with others. ## Drag ![](./docs/assets/drag.gif) diff --git a/src/renderer/src/server/Share.tsx b/src/renderer/src/server/Share.tsx index 583f0cfe..132b6fe4 100644 --- a/src/renderer/src/server/Share.tsx +++ b/src/renderer/src/server/Share.tsx @@ -263,13 +263,17 @@ export const Share = observer(() => { loading={state.upgradeLoading} onClick={action(() => { setState({upgradeLoading: true}) - shareStore.api.upgrade().then(() => { + shareStore.api.upgrade().then(async () => { message$.next({ type: 'success', content: 'Upgrade completed' }) setState({upgradeLoading: false}) - runInAction(() => shareStore.showUpdateTips = false) + const v = await shareStore.api.getVersion() + runInAction(() => { + shareStore.showUpdateTips = false + shareStore.currentVersion = v.version + }) }).catch(e => { message$.next({ type: 'error',