Copyright (c) KylinSoft Co., Ltd. 2026. All rights reserved.
kymockinstall is licensed under the Mulan PSL v2.
See LICENSE file for more details.

Mulan Permissive Software License，Version 2

Mulan Permissive Software License，Version 2 (Mulan PSL v2)
January 2020 http://license.coscl.org.cn/MulanPSL2

Your reproduction, use, modification and distribution of the Software shall be subject to Mulan PSL v2 (this License) with the following terms and conditions:

0. Definition

Software means the program and related documents which are licensed under this License and comprise all Covered Files.

Covered Files means the Source Code, Object Code and related documents of the Software licensed under this License.

Source Code means the source code in the form that can be read directly by human beings, including but not limited to the source code files, configuration files, interface definition files and other forms of source code.

Object Code means the form of output generated by a compiler or other similar tool after compiling or processing the Source Code, including but not limited to binary files, object files, byte-code files, etc.

Contributor means the Individual or Legal Entity who creates or makes contributions to the Software. For purposes of this definition, "makes contributions" includes, without limitation, any act of creating, supplementing, modifying or porting all or part of the Software.

You (or "Your") means an Individual or Legal Entity exercising permissions granted by this License.

Individual means a natural person.

Legal Entity means the legal entity acting on behalf of itself and the entity that controls it, is controlled by it, or is under joint control with it. For purposes of this definition, "control" means (i) the ability, whether direct or indirect, to direct or manage the legal entity, whether by ownership of voting shares, by contract, or otherwise, or (ii) ownership of more than fifty percent (50%) of outstanding shares or beneficial interests in the legal entity.

1. Grant of Copyright License

Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, royalty-free, non-exclusive, irrevocable copyright license to reproduce, use, modify, or distribute its Covered Files.

2. Grant of Patent License

Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, royalty-free, non-exclusive, irrevocable (except pursuant to this Section) patent license to make, have made, use, sell, offer for sale, import, and otherwise transfer the Covered Files, where the patent license applies solely to those patent claims licensable by the Contributor that would be necessarily infringed by the Contributor's Covered Files alone, or by the Contributor's Covered Files combined with Other Files controlled by the Contributor.

3. No Trademark License

This License does not grant any permission to use the trade names, trademarks, service marks, or product names of any Contributor, except for descriptive purposes.

4. Disclaimer of Warranty

The Software is provided under this License on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, but not limited to, non-infringement, merchantability, and fitness for a particular purpose. You shall assume all risks related to the quality and performance of the Software, as well as the results obtained from using the Software.

5. Limitation of Liability

In no event shall any Contributor be liable for any damages, including any direct, indirect, special, incidental or consequential damages arising from the Software or from using the Software (including but not limited to loss of data, loss of goodwill, loss of profits, computer failure or malfunction, or any other damages), even if such Contributor has been advised of the possibility of such damages.

6. Language

This License is written in both Chinese and English, and the Chinese version and English version shall have the same legal effect. In the case of divergence between the Chinese and English versions, the Chinese version shall prevail.

END OF THE TERMS AND CONDITIONS

How to Apply the Mulan Permissive Software License，Version 2 (Mulan PSL v2) to Your Software

To apply the Mulan PSL v2 to your work, for easy identification by recipients, you are suggested to complete following three steps:

i. Fill in the blanks in following statement, including insert your software name, the year of the first publication of your software, and your name identified as the copyright owner;
ii. Create a file named "LICENSE" which contains the whole context of this License in the first directory of your software package;
iii. Attach the statement to the appropriate annotated syntax at the beginning of each source file.

Copyright (c) [Year] [name of copyright holder]
[Software Name] is licensed under Mulan PSL v2.
You can use this software according to the terms and conditions of the Mulan PSL v2.
You may obtain a copy of Mulan PSL v2 at:
        http://license.coscl.org.cn/MulanPSL2
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details.
