浏览代码

ref: make plugin license more clear

Sven 9 月之前
父节点
当前提交
0916bb6fa6
共有 1 个文件被更改,包括 12 次插入7 次删除
  1. 12 7
      license-for-plugins.txt

+ 12 - 7
license-for-plugins.txt

@@ -1,11 +1,13 @@
 For the purpose of creating plugins, anyone is hereby allowed to freely copy,
 modify, embed, redistribute, sublicense and sell copies of the source code of
-the `src/` folder, *excluding* the subfolders in `src/`, and also all files
-inside `assets/`, *excluding* those in `assets/images/external/`.
+the root directory and `src/` and `assets/` folders, *excluding* the subfolders
+in `src/` and also *excluding* all files in `assets/images/external/`.
+All other files are licensed under the AGPL-3.0-only (see `LICENSE.txt`).
 
 Furthermore, you may include the source code of this project in the source of
-yours, as long as only the above mentioned files are included in the final build.
-All files not mentioned above are licensed under the AGPL-3.0-only license.
+yours, as long as only the above mentioned files are included in the *runtime*
+code that will be distributed to the end user. (For development purposes, you
+may include and use the entire source code of this project.)
 
 Lastly, you are to make the source code of your plugin available to anyone who
 requests it, and you are to provide a link to said source code in the plugin
@@ -13,9 +15,12 @@ definition object needed for registering the plugin at runtime.
 The exact license of the plugin is up to you, but it must be open-source.
 
 Use is granted under the condition that the original author and the BetterYTM
-project is credited in the source code of the plugin.
-Failure to comply with these terms will result in your plugin not being
-endorsed by the BetterYTM project or even legal action if necessary.
+project is credited in the plugin, in a place that is easily accessible to the
+end user. This can be done by including a link to the BetterYTM project in a
+dialog in the plugin's runtime code or by putting it in its readme or similar.
+
+Failure to comply with these terms will result in your plugin never being
+endorsed by the BetterYTM project and might even result in legal action.
 
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,