From 67f735ac6e9b156e51529960c70f43d60b8ae823 Mon Sep 17 00:00:00 2001 From: The1111mp Date: Tue, 19 Nov 2024 22:00:22 +0800 Subject: [PATCH] chore: release v4.0.4 Signed-off-by: The1111mp --- UPDATELOG.md | 14 ++++++++++++++ package.json | 2 +- src-tauri/Cargo.lock | 2 +- src-tauri/Cargo.toml | 2 +- src-tauri/src/utils/migrate.rs | 2 +- src-tauri/tauri.conf.json | 2 +- 6 files changed, 19 insertions(+), 5 deletions(-) diff --git a/UPDATELOG.md b/UPDATELOG.md index fe5a6a4..d1abe5b 100644 --- a/UPDATELOG.md +++ b/UPDATELOG.md @@ -1,3 +1,17 @@ +## v4.0.4 + +### Features + +- enhance the `Open With VSCode` feature +- use `tauri-plugin-window-state` + +### Bug Fixes + +- the migrate script will block application startup +- filter the logs inside tauri to reduce the amount of logs + +--- + ## v4.0.3 ### Features diff --git a/package.json b/package.json index e64849a..3667a26 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "nvm-desktop", "private": true, - "version": "4.0.3", + "version": "4.0.4", "type": "module", "license": "GPL-3.0-only", "scripts": { diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index 0d3d048..3b25616 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -3012,7 +3012,7 @@ dependencies = [ [[package]] name = "nvm-desktop" -version = "4.0.3" +version = "4.0.4" dependencies = [ "anyhow", "dirs", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 883fa05..6c05415 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nvm-desktop" -version = "4.0.3" +version = "4.0.4" description = "Node Version Manager Desktop - A desktop application to manage multiple active node.js versions." authors = ["The1111mp@outlook.com"] license = "GPL-3.0-only" diff --git a/src-tauri/src/utils/migrate.rs b/src-tauri/src/utils/migrate.rs index b8e09d9..a821b6a 100644 --- a/src-tauri/src/utils/migrate.rs +++ b/src-tauri/src/utils/migrate.rs @@ -6,7 +6,7 @@ use tauri::Emitter; use tokio::fs; use tokio::time::{sleep, Duration}; -const CURRENT_MIGRATION_VERSION: i16 = 17; +const CURRENT_MIGRATION_VERSION: i16 = 18; const NODE_DEFAULT_EXECUTE: [&str; 4] = ["node", "npm", "npx", "corepack"]; pub fn init() -> Result<()> { diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index cb4b11d..588dd31 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "../node_modules/@tauri-apps/cli/config.schema.json", "productName": "NVM Desktop", - "version": "4.0.3", + "version": "4.0.4", "identifier": "io.github.1111mp.nvm-desktop", "build": { "beforeDevCommand": "pnpm ui:dev",