From 334c4d1e4fc62ee1e5af3f4501af065bcc28ae70 Mon Sep 17 00:00:00 2001 From: zzi666 <756106614@qq.com> Date: Fri, 17 Jan 2025 15:37:50 +0800 Subject: [PATCH] chore: add COPYRIGHT file and license headers to config files --- .prettierrc.cjs | 16 ++++++++++++++++ COPYRIGHT | 13 +++++++++++++ src-tauri/icons/icon.svg | 18 +++++++++++++++++- 3 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 COPYRIGHT diff --git a/.prettierrc.cjs b/.prettierrc.cjs index a58bfe1a6..543dd4cff 100644 --- a/.prettierrc.cjs +++ b/.prettierrc.cjs @@ -1,3 +1,19 @@ +/* + * Copyright 2016-present the IoT DC3 original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + module.exports = { tabWidth: 4 /* 指定每个缩进级别的空格数 */, printWidth: 180 /* 一行最多多少个字符 */, diff --git a/COPYRIGHT b/COPYRIGHT new file mode 100644 index 000000000..d024f2b65 --- /dev/null +++ b/COPYRIGHT @@ -0,0 +1,13 @@ +Copyright 2016-present the IoT DC3 original author or authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. \ No newline at end of file diff --git a/src-tauri/icons/icon.svg b/src-tauri/icons/icon.svg index d34e21fce..ee839a8a9 100644 --- a/src-tauri/icons/icon.svg +++ b/src-tauri/icons/icon.svg @@ -1,4 +1,20 @@ - + +