Skip to content

Commit

Permalink
feat: 最初版本
Browse files Browse the repository at this point in the history
  • Loading branch information
muedsa committed Dec 10, 2024
1 parent 9fe19b0 commit bed6e47
Show file tree
Hide file tree
Showing 54 changed files with 613 additions and 557 deletions.
16 changes: 2 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,2 @@
# TvBoxDemoPlugin
[TvBox](https://github.com/muedsa/TvBox)的demo插件

## Use this template(使用此仓库作为模板)
本仓库使用**git submodule**,请在项目Clone后使用`git submodule update --init --recursive`拉取子模块。
你需要修改以下位置
- [ ] [settings.gradle.kts](settings.gradle.kts) 中的 `rootProject.name = "你的项目名称"`
- [ ] [app/src/main/res/values/strings.xml](app/src/main/res/values/strings.xml) 中的 `<string name="app_name">你的插件名称</string>`
- [ ] [app/build.gradle.kts](app/build.gradle.kts) 中的 `namespace = "你的namespace"`
- [ ] [app/build.gradle.kts](app/build.gradle.kts) 中的 `applicationId = "applicationId"`
- [ ] [app/build.gradle.kts](app/build.gradle.kts) 中的 `signingConfigs { // 你的签名 }`
- [ ] [app/src/main/res/mipmap-xxxx](app/src/main/res) 中的 [ic_launcher](app/src/main/res/mipmap-hdpi/ic_launcher.webp) 为你的Icon
- [ ] 编写代码实现插件IPlugin的所有功能,并修改 [app/src/main/AndroidManifest.xml](app/src/main/AndroidManifest.xml) 中的 `<meta-data android:name="tv_box_plugin_entry_point_impl" android:value="你的插件packageName.ClassName"/>`
- [ ] [README.md](README.md)
# ha-plugin
一个[TvBox](https://github.com/muedsa/TvBox)的插件, 提供某个网站的数据源
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ if (keystorePropertiesFile.exists() && keystorePropertiesFile.canRead()) {
}

android {
namespace = "com.muedsa.tvbox.demoplugin"
namespace = "com.muedsa.tvbox.ha"
compileSdk = 35

defaultConfig {
applicationId = "com.muedsa.tvbox.demoplugin"
applicationId = "com.muedsa.tvbox.ha"
minSdk = 24
targetSdk = 35
versionCode = 1
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<meta-data android:name="tv_box_plugin_key" android:value="com.muedsa.tvbox" />
<meta-data android:name="tv_box_plugin_api_version" android:value="9" />
<!-- 入口 -->
<meta-data android:name="tv_box_plugin_entry_point_impl" android:value="com.muedsa.tvbox.demoplugin.DemoPlugin"/>
<meta-data android:name="tv_box_plugin_entry_point_impl" android:value="com.muedsa.tvbox.ha.HaPlugin"/>
</application>

</manifest>
Binary file added app/src/main/ic_launcher-playstore.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 0 additions & 5 deletions app/src/main/java/com/muedsa/tvbox/demoplugin/PluginPrefs.kt

This file was deleted.

11 changes: 0 additions & 11 deletions app/src/main/java/com/muedsa/tvbox/demoplugin/helper/ListHelper.kt

This file was deleted.

This file was deleted.

This file was deleted.

33 changes: 0 additions & 33 deletions app/src/main/java/com/muedsa/tvbox/demoplugin/model/BangumiInfo.kt

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

17 changes: 0 additions & 17 deletions app/src/main/java/com/muedsa/tvbox/demoplugin/model/BangumiShin.kt

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit bed6e47

Please sign in to comment.