diff --git a/README.md b/README.md index f7b6eb040..9f22fbfe2 100644 --- a/README.md +++ b/README.md @@ -76,9 +76,9 @@ For more information on how to use the following functions, please see [characte ## Changelogs -### [v3.56.2](https://github.com/purocean/yn/releases/tag/v3.56.2) 2023-07-23 +### [v3.56.3](https://github.com/purocean/yn/releases/tag/v3.56.3) 2023-07-23 -[Windows](https://github.com/purocean/yn/releases/download/v3.56.2/Yank-Note-win-x64-3.56.2.exe) | [macOS arm64](https://github.com/purocean/yn/releases/download/v3.56.2/Yank-Note-mac-arm64-3.56.2.dmg) | [macOS x64](https://github.com/purocean/yn/releases/download/v3.56.2/Yank-Note-mac-x64-3.56.2.dmg) | [Linux AppImage](https://github.com/purocean/yn/releases/download/v3.56.2/Yank-Note-linux-x86_64-3.56.2.AppImage) | [Linux deb](https://github.com/purocean/yn/releases/download/v3.56.2/Yank-Note-linux-amd64-3.56.2.deb) +[Windows](https://github.com/purocean/yn/releases/download/v3.56.3/Yank-Note-win-x64-3.56.3.exe) | [macOS arm64](https://github.com/purocean/yn/releases/download/v3.56.3/Yank-Note-mac-arm64-3.56.3.dmg) | [macOS x64](https://github.com/purocean/yn/releases/download/v3.56.3/Yank-Note-mac-x64-3.56.3.dmg) | [Linux AppImage](https://github.com/purocean/yn/releases/download/v3.56.3/Yank-Note-linux-x86_64-3.56.3.AppImage) | [Linux deb](https://github.com/purocean/yn/releases/download/v3.56.3/Yank-Note-linux-amd64-3.56.3.deb) 1. feat: upgrade Electron to 22.3.17 2. feat: optimize the popup position of context menu when space is limited diff --git a/README_ZH-CN.md b/README_ZH-CN.md index 9334df2aa..481c514fd 100644 --- a/README_ZH-CN.md +++ b/README_ZH-CN.md @@ -76,16 +76,16 @@ ## 更新日志 -### [v3.56.2](https://github.com/purocean/yn/releases/tag/v3.56.2) 2023-07-23 +### [v3.56.3](https://github.com/purocean/yn/releases/tag/v3.56.3) 2023-07-23 -[Windows](https://github.com/purocean/yn/releases/download/v3.56.2/Yank-Note-win-x64-3.56.2.exe) | [macOS arm64](https://github.com/purocean/yn/releases/download/v3.56.2/Yank-Note-mac-arm64-3.56.2.dmg) | [macOS x64](https://github.com/purocean/yn/releases/download/v3.56.2/Yank-Note-mac-x64-3.56.2.dmg) | [Linux AppImage](https://github.com/purocean/yn/releases/download/v3.56.2/Yank-Note-linux-x86_64-3.56.2.AppImage) | [Linux deb](https://github.com/purocean/yn/releases/download/v3.56.2/Yank-Note-linux-amd64-3.56.2.deb) +[Windows](https://github.com/purocean/yn/releases/download/v3.56.3/Yank-Note-win-x64-3.56.3.exe) | [macOS arm64](https://github.com/purocean/yn/releases/download/v3.56.3/Yank-Note-mac-arm64-3.56.3.dmg) | [macOS x64](https://github.com/purocean/yn/releases/download/v3.56.3/Yank-Note-mac-x64-3.56.3.dmg) | [Linux AppImage](https://github.com/purocean/yn/releases/download/v3.56.3/Yank-Note-linux-x86_64-3.56.3.AppImage) | [Linux deb](https://github.com/purocean/yn/releases/download/v3.56.3/Yank-Note-linux-amd64-3.56.3.deb) 1. feat: 升级 Electron 到 22.3.17 -1. feat: 优化当空间不够时上下文菜单弹出位置 -1. feat: 文件选项卡上下文菜单增加文件相关操作 -1. feat: 切换到一个不存在的文件时,提示是否创建 -1. feat(plugin): 增加 `file-tabs.close-tabs` Action -1. feat(plugin): 增加文件选项卡上下文菜单拓展方法 +2. feat: 优化当空间不够时上下文菜单弹出位置 +3. feat: 文件选项卡上下文菜单增加文件相关操作 +4. feat: 切换到一个不存在的文件时,提示是否创建 +5. feat(plugin): 增加 `file-tabs.close-tabs` Action +6. feat(plugin): 增加文件选项卡上下文菜单拓展方法 [更多发布说明](https://github.com/purocean/yn/releases) diff --git a/package.json b/package.json index 2b952037c..e76a0850a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "yank.note", - "version": "3.56.2", + "version": "3.56.3", "description": "Yank Note: A highly extensible Markdown editor, designed for productivity.", "main": "dist/main/app.js", "license": "AGPL-3.0", diff --git a/src/main/updater.ts b/src/main/updater.ts index 167c10122..a71a85939 100644 --- a/src/main/updater.ts +++ b/src/main/updater.ts @@ -192,7 +192,11 @@ export function changeSource () { } app.whenReady().then(() => { - init() + init(() => { + setTimeout(() => { + app.exit(0) + }, process.platform === 'darwin' ? 3500 : 0) + }) setTimeout(() => { autoCheckForUpdates()