build: 为版本 2.13.4.0 添加完整安装包构建文件

- 添加 Inno Setup 安装脚本,配置版本 2.13.4.0 的安装程序
- 包含许可证文件 LICENCE.txt,定义软件使用条款和限制
- 添加编译好的安装程序可执行文件
- 包含 README.md 文件,提供安装后的用户说明
This commit is contained in:
drd_vic
2025-11-26 00:44:24 +08:00
parent c8d2b0588b
commit 983b1519c5
4 changed files with 177 additions and 0 deletions

49
SetupPkgBuild/LICENCE.txt Normal file
View File

@@ -0,0 +1,49 @@
一、声明
本文件仅作为指南,不是法律文件或协议。但开发者在此承诺,在您遵守本指南且善意、合理使用的情况下,不会追究您的责任。
法律上开发者仍保留所有权利All Rights Reserved若情况恶劣仍可能将诉讼作为最终手段。
二、轻度使用
若您仅参考了本存储库中极小部分的内容,或您在制作与 PCL 的实质功能不存在任何重叠的软件,则为轻度使用。
其常见情形例如:
· 使用或参考存储库中极小部分的内容,来开发启动器或其他软件。
· 虽参考了较大量的内容,但制作的软件与 PCL 的实质功能不存在任何重叠。
若属于轻度使用,您需要:
1、以适当的形式给出署名。
2、不得将您的内容与 PCL 混淆,或暗示您的内容与 PCL 有关。
 例如:您的内容不得使用 Planting Craft Launcher、PCL 手机版 等会造成混淆或暗示这与 PCL 有关的名称。
三、重度使用
若不符合轻度使用的情形,即为重度使用。
其常见情形例如:
· 基于本存储库进行修改。
· 参考存储库中较大量的内容,以制作或重新实现 PCL 的部分实质功能(例如启动或下载 Java 版 Minecraft下载或管理 Mod 等)。
若属于重度使用,您需要:
1、明确表示您的内容是第三方基于 PCL 独立进行二次创作的产物。
2、您的内容的名称必须以 Plain Craft Launcher (PCL) 开头,并在其后添加足以表现其由第三方修改的后缀。
 允许的示例PCL 某服务器魔改版、PCL PR Collection、PCL (XX Bug Fix)、PCL XXX修改版。
 禁止的示例PCL 某服务器特供版暗示由官方提供、PCL 3、PCL 手机版、PCL++、PCL Pro这像是官方的后续作品
3、在关于页面的首位给出龙腾猫跃的署名及对应的赞助链接公开源代码且继续使用本文件作为指南可参考 CC BY-SC 协议)。
4、软件若有 Minecraft 启动功能,则应实现与 McLaunchPrecheck 函数一致的 Minecraft 正版购买弹窗与赞助弹窗。
5、软件在 Windows 系统上运行时,不应有与 PCL 的赞助解锁功能类似的功能或表现。
 例如:界面的主要色相必须为蓝色(即使没有修改功能,改为其他色相也和需要赞助解锁的主题功能类似)。
————————————
说人话的备注:
因为没有法律专业人士检查,所以这不敢作为正式的法律协议,如果有专业人士愿意帮忙改一改我也很乐意……
这些规则主要是为了阻止恶意的使用和 “山寨版” 的出现,常规、善意的使用都没啥问题的,放心吧!
如果你只是参考了一小段代码,署个名就行啦,不用担心。
如果对具体细节有疑问,欢迎在 https://github.com/Meloong-Git/PCL/discussions/new?category=%E6%8F%90%E9%97%AE 发帖询问!
多谢大家啦!

View File

@@ -0,0 +1,52 @@
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
; Non-commercial use only
#define MyAppName "Plain Craft Launcher 2 (CE)"
#define MyAppVersion "2.13.4.0"
#define MyAppPublisher "PCL-Community"
#define MyAppURL "https://github.com/PCL-Community/PCL2-CE"
#define MyAppExeName "Plain Craft Launcher 2.exe"
[Setup]
; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications.
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppId={{F52ABAEA-1A8E-4E83-A38D-C92F9404EE4A}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={autopf}\Plain Craft Launcher 2
UninstallDisplayIcon={app}\{#MyAppExeName}
ArchitecturesAllowed=x64compatible
ArchitecturesInstallIn64BitMode=x64compatible
DefaultGroupName=Plain Craft Launcher 2
AllowNoIcons=yes
LicenseFile=./LICENCE.txt
InfoAfterFile=./README.md
PrivilegesRequiredOverridesAllowed=dialog
OutputDir=./
OutputBaseFilename=Plain-Craft-Launcher-2-Setup_v2.13.4.0
SolidCompression=yes
WizardStyle=modern windows11
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Files]
Source: "..\Plain Craft Launcher 2\bin\Release\net8.0-windows\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Plain Craft Launcher 2\bin\Release\net8.0-windows\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
[Icons]
Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
[Run]
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent

76
SetupPkgBuild/README.md Normal file
View File

@@ -0,0 +1,76 @@
<div align="center">
<img src="Plain Craft Launcher 2/Images/icon.ico" alt="Logo" width="80" height="80">
# PCL Community Edition
[![Stars](https://img.shields.io/github/stars/PCL-Community/PCL2-CE?style=flat&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEiIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZD0iTTggLjI1YS43NS43NSAwIDAgMSAuNjczLjQxOGwxLjg4MiAzLjgxNSA0LjIxLjYxMmEuNzUuNzUgMCAwIDEgLjQxNiAxLjI3OWwtMy4wNDYgMi45Ny43MTkgNC4xOTJhLjc1MS43NTEgMCAwIDEtMS4wODguNzkxTDggMTIuMzQ3bC0zLjc2NiAxLjk4YS43NS43NSAwIDAgMS0xLjA4OC0uNzlsLjcyLTQuMTk0TC44MTggNi4zNzRhLjc1Ljc1IDAgMCAxIC40MTYtMS4yOGw0LjIxLS42MTFMNy4zMjcuNjY4QS43NS43NSAwIDAgMSA4IC4yNVoiIGZpbGw9IiNlYWM1NGYiLz48L3N2Zz4=&logoSize=auto&label=Stars&labelColor=444444&color=eac54f)](https://github.com/PCL-Community/PCL2-CE/)
![GitHub Release](https://img.shields.io/github/v/release/PCL-Community/PCL2-CE?label=Release&logo=github)
[![Issues](https://img.shields.io/github/issues/PCL-Community/PCL2-CE?style=flat&label=Issues&labelColor=444444&color=1F883D&logo=github)](https://github.com/PCL-Community/PCL2-CE/issues)
[![Pull requests](https://img.shields.io/github/issues-pr/PCL-Community/PCL2-CE?style=flat&label=Pull%20requests&labelColor=444444&color=1F883D&logo=github)](https://github.com/PCL-Community/PCL2-CE/pulls)
![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/PCL-Community/PCL2-CE/build-test.yml)
![GitHub Downloads (all assets, all releases)](https://img.shields.io/github/downloads/PCL-Community/PCL2-CE/total)
[![哔哩哔哩](https://img.shields.io/badge/动态-BiliBili-00A4DB?style=flat&labelColor=444444&logo=bilibili)](https://space.bilibili.com/3546847192811755/dynamic) <br />
[社区版下载](https://github.com/PCL-Community/PCL2-CE/releases) |
[上游存储库](https://github.com/Meloong-Git/PCL) |
[帮助文档库](https://github.com/PCL-Community/PCL2CEHelp)
[提交问题](https://github.com/PCL-Community/PCL2-CE/issues/new/choose) |
[贡献指南](https://github.com/PCL-Community/PCL2-CE/wiki/开发指南)
</div>
PCL CE 是基于 PCL 开源代码二次开发的社区版本,包括了主线暂未制作的功能和改进!
社区版的版本号与主线并非严格对应关系,也请不要向官方仓库反馈社区版问题。
欢迎大家来用用看!
**开发群:** [599620549](https://qm.qq.com/q/PNQA4Md8wc)
**用户 1 群:** [1028074835](https://qm.qq.com/q/qrMGJo8BQQ)
**用户 2 群:** [1070029541](https://qm.qq.com/q/lBywbDMWhG)
### ✨ 隐藏提示
在全局配置项中添加 `UiLauncherCEHint` 字段,字段值为 `False`
## 💻 支持平台
| 操作系统 | 支持的启动器版本 | 环境要求 | 社区技术支持 |
|---|---|---|---|
| Windows 10 1809 (17763) 或更高 | [最新版](https://github.com/PCL-Community/PCL2-CE/releases/latest) | [.NET 8 Desktop Runtime](http://get.dot.net/8) | ✅ 完整支持 |
| Windows 8 - Windows 10 1809- (17763-) | [最新版](https://github.com/PCL-Community/PCL2-CE/releases/latest) | [.NET 8 Desktop Runtime](http://get.dot.net/8) | ⚠️ 理论能跑,但不提供社区支持 |
| Windows 7 或更低版本 | [2.9.5](https://github.com/PCL-Community/PCL2-CE/releases/tag/2.9.5) | [.NET Framework 4.8](https://dotnet.microsoft.com/zh-cn/download/dotnet-framework/thank-you/net48-offline-installer) | ❌ 不提供社区支持 |
| macOS / Linux / 其他操作系统 | 暂不支持 | [.NET 9 SDK](http://get.dot.net/9) | ⚠️ 仅跨平台开发支持(交叉编译) |
**✅ 完整支持**:尽可能提供一切相关支持,但必须确保启动器为最新版本。
**⚠️ 理论能跑,但不提供社区支持**PCL CE 应该可以在这些平台上运行,但不保证功能完全可用。你必须升级到完整支持的系统版本以获得社区技术支持。
**❌ 不提供社区支持**:不保证 PCL CE 在这些平台的可用性,甚至压根打不开。请升级操作系统以使用 PCL CE。
**⚠️ 仅跨平台开发支持(交叉编译)**PCL CE 的源代码可以在 macOS 与 Linux 平台编译,但无法直接运行。作为开发者,你可以在这些平台上进行开发,然后将编译产物转移到 Windows 系统测试。
**注**
社区仅对最新版本的启动器提供支持。
取决于部分问题的特殊性(如系统不完整),有时你仍然必须升级操作系统以继续获得支持。
PCL CE 始终建议使用最新版本的操作系统以获得最佳体验。
Windows 7 仍然可以尝试使用最新版本的启动器,但可能会遇到很多额外问题。
## 🔒 许可证
- `PCL.Core/` 使用 [Apache License 2.0](https://github.com/PCL-Community/PCL.Core/blob/main/LICENSE)
- `Plain Craft Launcher 2/` 使用 [自定义许可证](./LICENCE)
## 🌟 统计数据
![Alt](https://repobeats.axiom.co/api/embed/7780da7a2612e74751bdf872f507efe2ea132b3a.svg "Repobeats analytics image")
[![Star History Chart](https://api.star-history.com/svg?repos=PCL-Community/PCL2-CE&type=Date)](https://www.star-history.com/#PCL-Community/PCL2-CE&Date)
**此页浏览量**(总计 / 今日):[![Hits](https://hits.zkitefly.eu.org/?tag=https://github.com/PCL-Community/PCL2-CE)](https://hits.zkitefly.eu.org/?tag=https://github.com/PCL-Community/PCL2-CE&web=true)
## ❤️ 贡献者
[![](https://contrib.rocks/image?repo=PCL-Community/PCL2-CE)](https://github.com/PCL-Community/PCL2-CE/graphs/contributors)