跳到主要内容
KernelSU 模块

Example Module Demo

不可变 Release 已同步

A minimal module that shows how to publish to KernelSU Modules

介绍

icon

Example Module Demo

A minimal KernelSU module that shows how to publish a module to the KernelSU Modules. It installs nothing and does nothing on the device — copy this repository as a starting point for your own module.

Layout

Path Purpose
module/ The module itself; its contents become the root of the release ZIP
module/module.prop id, version and versionCode — the only source of version information
module.yaml KernelSU Modules display metadata (name, summary, icon, tags, …)
README.md This page — also the module's detail page, referenced from module.yaml
assets/icon.png Icon (generated by node scripts/gen-icon.mjs)
.github/workflows/release.yml Publishes an immutable release when a v* tag is pushed

Releasing a new version

  1. Enable Settings → General → Releases → Enable release immutability (once).

  2. Bump version and versionCode in module/module.prop (versionCode must increase).

  3. Commit, then tag and push:

    git tag v1.0.1 && git push origin v1.0.1
    
  4. The workflow zips module/, prechecks it with the KernelSU Modules validator and publishes example_module_demo-<versionCode>-<version>.zip as an immutable release. Tags containing - (e.g. v1.1.0-rc1) are published as prereleases.

KernelSU Modules picks up the release automatically within minutes. See the developer documentation for details.

License

MIT

历史版本

透明度

Tag
v1.0.0 不可变 Release
Tag commit
7836e073f2a1
内容 commit
7836e073f2a1
SHA-256
3d588e6c5a8e0c8480e5c61b33b5d7704954c2370808e895f33953ab8ba42f52
最近同步到变更

自行复核

KernelSU 模块不对模块签名,也不审计模块代码。SHA-256 只证明下载内容与本索引一致。可使用 GitHub CLI 自行复核:

gh release verify v1.0.0 -R KernelSU-Modules/example-module
gh release verify-asset v1.0.0 example_module_demo-100-v1.0.0.zip -R KernelSU-Modules/example-module