From 10eb97e40306f9a2089c3c2bd66c1eafac29fb7b Mon Sep 17 00:00:00 2001 From: lbl <1791778603@qq.com> Date: Sun, 23 Aug 2026 14:42:18 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=BF=AE=E6=AD=A3=20LICENSE=20?= =?UTF-8?q?=E7=89=88=E6=9D=83=E5=A3=B0=E6=98=8E=E5=B9=B6=E8=A1=A5=E5=85=85?= =?UTF-8?q?=E5=90=84=E6=B8=85=E5=8D=95=E7=9A=84=20license=20=E5=AD=97?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - LICENSE 附录版权行由模板占位符改为 Copyright 2023-present vnt-dev - 各 Cargo.toml 与 package.json 补充 license = Apache-2.0 --- Cargo.toml | 1 + LICENSE | 2 +- package.json | 1 + vnt-core/Cargo.toml | 1 + vnt-desktop/package.json | 1 + vnt-desktop/src-tauri/Cargo.toml | 1 + vnt-ipc/Cargo.toml | 1 + vnt-jni/Cargo.toml | 1 + vnt-web/Cargo.toml | 1 + vnt-web/ui/package.json | 1 + 10 files changed, 10 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 3750b29..5d6fb89 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,6 +2,7 @@ name = "vnt2" version = "2.0.2" edition = "2024" +license = "Apache-2.0" [dependencies] vnt-ipc = { path = "vnt-ipc", optional = true } diff --git a/LICENSE b/LICENSE index 261eeb9..5314de5 100644 --- a/LICENSE +++ b/LICENSE @@ -186,7 +186,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright [yyyy] [name of copyright owner] + Copyright 2023-present vnt-dev Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/package.json b/package.json index e386142..d327ef9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,7 @@ { "name": "vnt-workspace", "private": true, + "license": "Apache-2.0", "packageManager": "pnpm@10.34.5", "scripts": { "dev:web": "pnpm --filter vnt-web-ui dev", diff --git a/vnt-core/Cargo.toml b/vnt-core/Cargo.toml index 5c2c27d..0cdaa8a 100644 --- a/vnt-core/Cargo.toml +++ b/vnt-core/Cargo.toml @@ -2,6 +2,7 @@ name = "vnt-core" version = "2.0.2" edition = "2024" +license = "Apache-2.0" [dependencies] diff --git a/vnt-desktop/package.json b/vnt-desktop/package.json index 85fc17d..440c588 100644 --- a/vnt-desktop/package.json +++ b/vnt-desktop/package.json @@ -1,6 +1,7 @@ { "name": "vnt-desktop", "private": true, + "license": "Apache-2.0", "version": "2.0.2", "type": "module", "scripts": { diff --git a/vnt-desktop/src-tauri/Cargo.toml b/vnt-desktop/src-tauri/Cargo.toml index 35af201..2138e6e 100644 --- a/vnt-desktop/src-tauri/Cargo.toml +++ b/vnt-desktop/src-tauri/Cargo.toml @@ -3,6 +3,7 @@ name = "vnt-desktop" version = "2.0.2" description = "VNT virtual network desktop client" edition = "2024" +license = "Apache-2.0" [lib] name = "vnt_desktop_lib" diff --git a/vnt-ipc/Cargo.toml b/vnt-ipc/Cargo.toml index 9cf1bb8..08033bb 100644 --- a/vnt-ipc/Cargo.toml +++ b/vnt-ipc/Cargo.toml @@ -2,6 +2,7 @@ name = "vnt-ipc" version = "2.0.2" edition = "2024" +license = "Apache-2.0" [dependencies] diff --git a/vnt-jni/Cargo.toml b/vnt-jni/Cargo.toml index 43c86a4..c39ba55 100644 --- a/vnt-jni/Cargo.toml +++ b/vnt-jni/Cargo.toml @@ -2,6 +2,7 @@ name = "vnt-jni" version = "2.0.2" edition = "2024" +license = "Apache-2.0" [lib] crate-type = ["cdylib"] diff --git a/vnt-web/Cargo.toml b/vnt-web/Cargo.toml index eb10160..cbf5b9f 100644 --- a/vnt-web/Cargo.toml +++ b/vnt-web/Cargo.toml @@ -2,6 +2,7 @@ name = "vnt-web" version = "2.0.2" edition = "2024" +license = "Apache-2.0" [dependencies] vnt-core.workspace = true diff --git a/vnt-web/ui/package.json b/vnt-web/ui/package.json index 0cbaff2..5c07549 100644 --- a/vnt-web/ui/package.json +++ b/vnt-web/ui/package.json @@ -1,6 +1,7 @@ { "name": "vnt-web-ui", "private": true, + "license": "Apache-2.0", "version": "2.0.2", "type": "module", "scripts": {