From 7a0c486818337207729c5ea434e33fb0f0a331d8 Mon Sep 17 00:00:00 2001 From: suiyun39 Date: Tue, 18 Jun 2024 00:15:54 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=B8=BA=20BSD-2-Clause-Patent=20?= =?UTF-8?q?=E5=8D=8F=E8=AE=AE=E6=B7=BB=E5=8A=A0=E6=9B=BF=E6=8D=A2=E8=A7=84?= =?UTF-8?q?=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/kotlin/io/suiyun/chooseLicense/license/License.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/io/suiyun/chooseLicense/license/License.kt b/src/main/kotlin/io/suiyun/chooseLicense/license/License.kt index 5beb276..bc95893 100644 --- a/src/main/kotlin/io/suiyun/chooseLicense/license/License.kt +++ b/src/main/kotlin/io/suiyun/chooseLicense/license/License.kt @@ -18,7 +18,7 @@ class License(val spdxId: String, val content: String) { .replace("[yyyy]", year) } - "0BSD", "BSD-2-Clause", "BSD-3-Clause", "BSD-3-Clause-Clear", "BSD-4-Clause", + "0BSD", "BSD-2-Clause", "BSD-2-Clause-Patent", "BSD-3-Clause", "BSD-3-Clause-Clear", "BSD-4-Clause", "MIT", "MIT-0", "ISC", "NCSA", "OFL-1.1", "PostgreSQL", "UPL-1.0", "Zlib" -> { return content .replace("[fullname]", author)