Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NeoForge 支持 #4045

Merged
merged 39 commits into from
Jul 5, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
7ba79db
feat(neoforge): 添加了 NeoForge 的安装选项,并支持获取版本列表
Pigeon0v0 Jun 15, 2024
e731ef6
ui: 显示 NeoForge 版本属性(测试版 / 稳定版)
Pigeon0v0 Jun 15, 2024
8d9dc47
fix: NeoForge 版本列表排序,但是抽象实现
Pigeon0v0 Jun 15, 2024
655364b
fix: 一处逻辑判断错误,但未解决版本判断错误的问题
Pigeon0v0 Jun 15, 2024
65d21d4
Installer 下载和代码清理
Pigeon0v0 Jun 15, 2024
31e391f
optimize: version name and icon
JingHai-Lingyun Jun 15, 2024
d8fe599
fix: 所有版本都显示为测试版 / 正式版
Pigeon0v0 Jun 15, 2024
0e0335e
ui: 添加 NeoForge 手动安装 Tab
Pigeon0v0 Jun 16, 2024
f4b1e3e
feat: 正式支持 NeoForge 自动安装
Pigeon0v0 Jun 16, 2024
27825ed
Update PageDownloadInstall.xaml.vb
JingHai-Lingyun Jun 16, 2024
d305dd3
fix: 版本列表不能正常显示核心 NeoForge 版本
Pigeon0v0 Jun 16, 2024
c31e3b5
Merge branch 'neoforge' into neoforge
Pigeon0v0 Jun 16, 2024
030c498
Merge pull request #2 from JingHai-Lingyun/neoforge
Pigeon0v0 Jun 16, 2024
66182f2
fix: Icon 显示及其导致的崩溃问题
Pigeon0v0 Jun 16, 2024
f3079dd
feat: NeoForge 整合包安装
Pigeon0v0 Jun 16, 2024
9c64dc0
尝试修复 NeoForge 手动安装包列表加载不出的问题,但是失败了
Pigeon0v0 Jun 16, 2024
9dab0b8
改一行注释
Pigeon0v0 Jun 16, 2024
136803f
fix: 回滚修改,修复版本列表问题
Pigeon0v0 Jun 16, 2024
f83afdb
fix: 1.20.1 NeoForge 下载地址拼接可能有误(如果版本为 1.20.1 则硬编码以避免问题)
Pigeon0v0 Jun 21, 2024
e0ae696
chores: 界面文本更改,现在安装的是 NeoForge 还是 Forge 更清晰了
Pigeon0v0 Jun 21, 2024
3bc3416
fix: 1.20.1 NeoForge 安装失败(Json 路径错误)
Pigeon0v0 Jun 21, 2024
7d50ed1
fix: 1.20.1 NeoForge 近期版本无法安装(Json 路径错误)
Pigeon0v0 Jun 21, 2024
70a6b6a
chores: 删除调试用信息
Pigeon0v0 Jun 21, 2024
61ac627
fix: 1.20.1 NeoForge 无法安装(Json 路径拼接错误)
Pigeon0v0 Jun 22, 2024
3f5c292
feat(neoforge): NeoForge 官方源版本列表
Pigeon0v0 Jun 26, 2024
707b6ee
fix: NeoForge 手动安装版本列表不能正常加载(修完了)
Pigeon0v0 Jun 26, 2024
2cfa9b2
feat: NeoForge BMCLAPI 版本列表获取
Pigeon0v0 Jun 26, 2024
ee10caa
fix: NeoForge 官方源不可用
Pigeon0v0 Jun 26, 2024
6efaa09
fix: 官方源总是 Fallback 到 BMCLAPI
Pigeon0v0 Jun 27, 2024
ac6ed8d
chores: Clean up
Pigeon0v0 Jun 27, 2024
1b53489
fix: BMCLAPI 获取支持的 Neo 列表时会意外的包含 1.20
Pigeon0v0 Jun 27, 2024
b61081f
:ok_hand: 修改一些龙猫的审查
youzi-2333 Jun 27, 2024
f98578f
Merge pull request #4 from youzi-2333/pigeon-neoforge
Pigeon0v0 Jun 27, 2024
a54cfef
代码清理
Pigeon0v0 Jun 27, 2024
cf43244
refactor: 合并 Forge 和 NeoForge 部分代码
Pigeon0v0 Jun 28, 2024
4dba7c9
chores: 代码可读性和相关优化
Pigeon0v0 Jun 28, 2024
3c44a55
refactor: NeoForge BMCLAPI 版本列表(爱来自 bangbang93)
Pigeon0v0 Jun 30, 2024
bec5ddd
chores: 代码清理
Pigeon0v0 Jun 30, 2024
7921184
chores: 一些判断和命名修改
Pigeon0v0 Jun 30, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions Plain Craft Launcher 2/Modules/Minecraft/ModDownload.vb
Original file line number Diff line number Diff line change
Expand Up @@ -787,12 +787,9 @@
Dim Version As String = Token.Replace("neoforge-", "")
Dim Inherit As String = $"1.{Version.Split(".")(0)}.{Token.Split(".")(1)}"
If Inherit.EndsWith(".0") Then Inherit = Inherit.Replace(".0", "")
If Versions.Contains(Inherit) Then
Continue For
Else
Versions.Add(Inherit)
End If
Versions.Add(Inherit)
Next
Versions = Versions.Distinct().ToList()
Catch ex As Exception
Log(ex, LogLevel.Feedback)
End Try
Expand Down Expand Up @@ -892,6 +889,10 @@
End If
End Get
End Property
''' <summary>
''' 文件扩展名
''' </summary>
Public ReadOnly Property FileSuffix As String = ".jar"
End Class
''' <summary>
''' NeoForge 版本列表,主加载器。
Expand Down
Loading