Skip to content

Commit 99b277f

Browse files
committed
chore: 删除MIT许可证文件,更新项目许可证为GPL-3.0,并调整相关文档说明
1 parent 3cf1aec commit 99b277f

5 files changed

Lines changed: 46 additions & 54 deletions

File tree

LICENSE

Lines changed: 0 additions & 22 deletions
This file was deleted.

Pages/MorePage.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@
276276
FontSize="14"
277277
Foreground="{DynamicResource TextTertiaryBrush}"
278278
Width="80"/>
279-
<TextBlock Text="MIT License"
279+
<TextBlock Text="GNU GPL v3.0"
280280
FontSize="14"
281281
Foreground="{DynamicResource TextBrush}"/>
282282
</StackPanel>

Plugin-Development.md

Lines changed: 33 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -61,41 +61,45 @@ ObsMCLauncher 采用基于 .NET Assembly 的插件系统,支持开发者使用
6161

6262
### 插件安装目录
6363

64-
插件安装在启动器运行目录下的 `plugins` 文件夹
64+
ObsMCLauncher 支持三种插件目录位置(可在设置中配置)
6565

66-
```
67-
ObsMCLauncher.exe 所在目录/plugins/
68-
```
69-
70-
完整路径示例:
66+
1. **运行目录\OMCL\plugins\** (默认,便携模式)
67+
```
68+
启动器目录\OMCL\plugins\
69+
```
70+
示例:`C:\Program Files\ObsMCLauncher\OMCL\plugins\`
7171

72-
```
73-
H:\projects\ObsMCLauncher\bin\Debug\net8.0-windows\plugins\
74-
```
72+
2. **%APPDATA%\ObsMCLauncher\plugins\** (系统目录)
73+
```
74+
C:\Users\[用户名]\AppData\Roaming\ObsMCLauncher\plugins\
75+
```
7576

76-
或发布后:
77+
3. **自定义目录** (用户指定的任意位置)
7778

78-
```
79-
C:\Program Files\ObsMCLauncher\plugins\
80-
```
79+
**默认使用运行目录,适合便携使用。** 用户可以在"设置 - 文件存储设置 - 插件目录位置"中更改。
8180

8281
### 目录结构
8382

8483
```
85-
ObsMCLauncher/ # 启动器运行目录
84+
ObsMCLauncher/ # 启动器运行目录
8685
├── ObsMCLauncher.exe
87-
├── plugins/ # 插件目录
88-
│ ├── example-hello-plugin/ # 插件文件夹
89-
│ │ ├── example-hello-plugin.dll # 插件程序集
90-
│ │ ├── plugin.json # 插件元数据
91-
│ │ ├── icon.png # 插件图标(可选)
92-
│ │ ├── config.json # 插件配置(可选,由开发者自定义)
93-
│ │ └── data/ # 插件数据(可选,由开发者自定义)
94-
│ └── another-plugin/ # 另一个插件
95-
│ ├── another-plugin.dll
96-
│ ├── plugin.json
97-
│ ├── icon.png
98-
│ └── settings.json # 插件自定义的配置文件
86+
├── OMCL/ # 启动器数据目录
87+
│ ├── config/ # 配置文件
88+
│ │ ├── config.json
89+
│ │ └── accounts.json
90+
│ └── plugins/ # 插件目录(默认位置)
91+
│ ├── example-hello-plugin/ # 插件文件夹
92+
│ │ ├── example-hello-plugin.dll # 插件程序集
93+
│ │ ├── plugin.json # 插件元数据
94+
│ │ ├── icon.png # 插件图标(可选)
95+
│ │ ├── config.json # 插件配置(可选,由开发者自定义)
96+
│ │ └── data/ # 插件数据(可选,由开发者自定义)
97+
│ └── another-plugin/ # 另一个插件
98+
│ ├── another-plugin.dll
99+
│ ├── plugin.json
100+
│ ├── icon.png
101+
│ └── settings.json # 插件自定义的配置文件
102+
├── OMCL.ini # 引导配置文件
99103
└── (其他启动器文件)
100104
```
101105

@@ -906,7 +910,9 @@ A: 不会,启动器会捕获插件异常并隔离错误,只会禁用有问
906910
907911
本文档采用 [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/) 许可协议。
908912
909-
插件开发者可以选择任何开源协议发布插件,推荐使用 MIT License。
913+
插件开发者可以选择任何开源协议发布插件,推荐使用 MIT License 或 GPL-3.0。
914+
915+
**注意**:ObsMCLauncher 本身采用 GPL-3.0 许可证,如果您的插件与启动器深度集成,可能需要考虑使用兼容的许可证。
910916
911917
---
912918

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<div align="center">
44
<img src="https://img.shields.io/badge/.NET-8.0-512BD4?style=for-the-badge&logo=dotnet" alt=".NET 8.0"/>
55
<img src="https://img.shields.io/badge/WPF-Windows-0078D6?style=for-the-badge&logo=windows" alt="WPF"/>
6-
<img src="https://img.shields.io/badge/License-MIT-green?style=for-the-badge" alt="License"/>
6+
<img src="https://img.shields.io/badge/License-GPL--3.0-blue?style=for-the-badge" alt="License"/>
77
<br/>
88
<img src="https://github.com/x1aoren/ObsMCLauncher/actions/workflows/build.yml/badge.svg" alt="Build Status"/>
99
</div>
@@ -116,7 +116,15 @@ ObsMCLauncher/
116116

117117
## 📄 许可证
118118

119-
本项目采用 **MIT 许可证** 开源。详见 [LICENSE](LICENSE) 文件。
119+
本项目采用 **GNU General Public License v3.0** 开源。
120+
121+
这意味着:
122+
- ✅ 可以自由使用、修改和分发
123+
- ✅ 必须开源修改后的代码
124+
- ✅ 必须使用相同的 GPL-3.0 许可证
125+
- ✅ 必须声明变更内容
126+
127+
详见 [LICENSE](LICENSE) 文件。
120128

121129
---
122130

Utils/VersionInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public static class VersionInfo
2020
/// 格式:日期.构建次数 (yyyyMMdd.build)
2121
/// 示例:20250108.1, 20250108.2
2222
/// </summary>
23-
public static readonly string BuildVersion = "20251102.1";
23+
public static readonly string BuildVersion = "20251102.2";
2424

2525
/// <summary>
2626
/// 完整版本号(组合显示)
@@ -52,7 +52,7 @@ public static class VersionInfo
5252
/// <summary>
5353
/// 发布日期
5454
/// </summary>
55-
public static readonly DateTime ReleaseDate = new DateTime(2025, 11, 1);
55+
public static readonly DateTime ReleaseDate = new DateTime(2025, 11, 2);
5656

5757
/// <summary>
5858
/// 是否为预发布版本

0 commit comments

Comments
 (0)