Repository navigation
feat(templates): a Live2D application on every row, through one dependency - #8
Open
Sunrisepeak wants to merge 1 commit into
Open
Sunrisepeak wants to merge 1 commit into
Sunrisepeak wants to merge 1 commit into
Conversation
Sunrisepeak
force-pushed
the
mcpp-six-platforms
branch
from
September 13, 2026 09:39
be26617 to
f819254
Compare
Sunrisepeak
force-pushed
the
mcpp-live2d-template
branch
from
September 13, 2026 09:39
2416c4c to
2a9dae3
Compare
Sunrisepeak
force-pushed
the
mcpp-live2d-template
branch
2 times, most recently
from
September 13, 2026 10:23
8fafc09 to
e85849c
Compare
Sunrisepeak
force-pushed
the
mcpp-live2d-template
branch
from
September 13, 2026 10:36
e85849c to
c7be639
Compare
Sunrisepeak
force-pushed
the
mcpp-six-platforms
branch
from
September 13, 2026 11:12
f819254 to
429a18d
Compare
Sunrisepeak
force-pushed
the
mcpp-live2d-template
branch
2 times, most recently
from
September 13, 2026 11:13
95e8703 to
e2fbe3d
Compare
Sunrisepeak
force-pushed
the
mcpp-six-platforms
branch
from
September 13, 2026 17:41
429a18d to
2cf3e37
Compare
Sunrisepeak
force-pushed
the
mcpp-live2d-template
branch
from
September 13, 2026 17:41
e2fbe3d to
f9dffe4
Compare
Sunrisepeak
force-pushed
the
mcpp-six-platforms
branch
from
September 13, 2026 17:47
2cf3e37 to
bcfc053
Compare
Sunrisepeak
force-pushed
the
mcpp-live2d-template
branch
from
September 13, 2026 17:47
f9dffe4 to
9e01b2b
Compare
Sunrisepeak
force-pushed
the
mcpp-six-platforms
branch
from
September 13, 2026 18:15
bcfc053 to
534b73b
Compare
Sunrisepeak
force-pushed
the
mcpp-live2d-template
branch
from
September 13, 2026 18:15
9e01b2b to
d9b0358
Compare
Sunrisepeak
force-pushed
the
mcpp-six-platforms
branch
from
September 13, 2026 18:41
534b73b to
5356991
Compare
Sunrisepeak
force-pushed
the
mcpp-live2d-template
branch
from
September 13, 2026 18:41
d9b0358 to
b9e4a85
Compare
Sunrisepeak
force-pushed
the
mcpp-six-platforms
branch
from
September 14, 2026 17:49
5356991 to
3bc85d0
Compare
Sunrisepeak
force-pushed
the
mcpp-live2d-template
branch
from
September 14, 2026 17:52
b9e4a85 to
0584e08
Compare
Sunrisepeak
force-pushed
the
mcpp-six-platforms
branch
from
September 14, 2026 17:53
3bc85d0 to
e9bd8ef
Compare
Sunrisepeak
force-pushed
the
mcpp-live2d-template
branch
from
September 14, 2026 17:54
0584e08 to
2ab8b15
Compare
Sunrisepeak
force-pushed
the
mcpp-six-platforms
branch
from
September 14, 2026 18:39
e9bd8ef to
6bdea48
Compare
Sunrisepeak
force-pushed
the
mcpp-live2d-template
branch
from
September 14, 2026 18:40
2ab8b15 to
b4638ab
Compare
Sunrisepeak
force-pushed
the
mcpp-six-platforms
branch
from
September 15, 2026 08:41
6bdea48 to
f21cbc7
Compare
Sunrisepeak
force-pushed
the
mcpp-live2d-template
branch
from
September 15, 2026 08:44
b4638ab to
43d4300
Compare
Sunrisepeak
force-pushed
the
mcpp-six-platforms
branch
from
September 15, 2026 20:10
f21cbc7 to
ed896c9
Compare
Sunrisepeak
force-pushed
the
mcpp-live2d-template
branch
from
September 15, 2026 20:16
43d4300 to
ff2d0de
Compare
…dency `huxerui create app <name> --build mcpp --template live2d` renders an application that shows a Live2D model (Cubism's sample "Mao", under its own licence in `resources/raw/Mao/model_licenses/`) on Linux, Windows, macOS, iOS, Android and the Web: `import huxerui.live2d;`, one `huxerui.live2d` dependency, nothing about Cubism in the application. The template has A's program model (one HuxerUI line, no runners, the floors, c++20 with `llvm.libcxx` on the Apple rows, the Windows installer package built for a package only through the `windows-installer` feature) and pins HuxerUI and Lib-Live2D by git revision -- one HuxerUI for the whole graph -- so the CLI leaves its dependency lines alone (`HuxerUICliSelectsTheLive2DTemplate`), and the templates CI job creates and builds it.
Sunrisepeak
force-pushed
the
mcpp-live2d-template
branch
from
September 15, 2026 20:34
ff2d0de to
0a207a5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
中文
三个 PR 中的 C,基于 #7(A):
huxerui create app <name> --build mcpp --template live2d生成一个在六个平台上显示 Live2D 模型的应用。应用写import huxerui.live2d;和一行huxerui.live2d依赖,里面没有任何 Cubism 相关内容。钉 A 的 commit 和 Lib-Live2D B(Sunrisepeak/Lib-Live2D#2)的 commit;base 是mcpp-six-platforms,A 合并后自动落到main。做了什么
templates/live2d/: 与 A 的应用模板同一程序模型。mcpp.toml.in:huxerui.live2d钉 B,HuxerUI 钉 A。整张图只有一个 HuxerUI,所以两行都是 git 版本。llvm.libcxx22.1.8.3。windows/installer:Setup.exe 的自绘安装界面,依赖同一个 HuxerUI 版本,经windows-installerfeature 只在打包时构建(与 A 的应用模板相同)。build.mcpp.in(bundle id / applicationId ={{project.id}})、src/main.cpp.in、src/app.cppm.in(CharacterView,import app.resources;),以及 Cubism 示例模型 Mao 和它的许可证(4.3 MB,diff 的主体)。HuxerUICliSelectsTheLive2DTemplate)。Live2DDemo并构建;mcpp/README.md与设计文档各加一段。对 CMake 构建体系的影响
无。 没有 CMake 文件被改动;模板只在
--build mcpp下渲染。验证
CI:templates job 构建生成的项目;A 的 mcpp job 与一致性验证在本分支上再跑一遍。
English
C of three, on top of #7 (A):
--template live2drenders an application that shows a Live2D model on all six platforms. The application writesimport huxerui.live2d;and onehuxerui.live2ddependency line, with nothing about Cubism in it. It pins A's commit and Lib-Live2D's B (Sunrisepeak/Lib-Live2D#2); the base ismcpp-six-platforms, so it retargets tomainonce A merges.What
templates/live2d/: the same program model as A's application template.mcpp.toml.in:huxerui.live2dpinned to B and HuxerUI to A, both by git revision because the graph has one HuxerUI.llvm.libcxx22.1.8.3 on macOS and iOS.windows/installerpackage: the Setup.exe's own interface, on the same HuxerUI revision, built for a package only through thewindows-installerfeature (as A's application template).build.mcpp.in(bundle id / application id ={{project.id}}),src/main.cpp.in,src/app.cppm.in(aCharacterView,import app.resources;), and Cubism's sample model Mao with its licences (4.3 MB, the bulk of the diff).HuxerUICliSelectsTheLive2DTemplate).Live2DDemoand builds it; one paragraph each inmcpp/README.mdand the design record.Impact on the CMake build
None. No CMake file is touched; the template is rendered only for
--build mcpp.Verification
CI: the templates job builds the generated project; A's mcpp jobs and the conformance check run again on this branch.