GithubHelp home page GithubHelp logo

qbox's Introduction

访客数 👀

Sub :: Visitor's Count wwz09:: Visitor's Count

修改默认配置

复刻自 q215613905/TVBoxOS

一、设置修改

1、默认搜索显示缩略图

2、默认开启硬解

///取消3、默认开启dns

二、图标背景名字内置修改

仅供测试使用

技巧

1、修改软件名称地址

https://github.com/wwz09/TVBoxOS/blob/main/app/src/main/res/values/strings.xml

2、修改版本号

https://github.com/wwz09/TVBoxOS/blob/main/app/src/main/AndroidManifest.xml

3、修改图标、背景

https://github.com/wwz09/TVBoxOS/tree/main/app/src/main/res

4、修改内置源

俊老仓库打开下面,第83行

https://github.com/wwz09/TVBoxOS/blob/main/app/src/main/java/com/github/tvbox/osc/api/ApiConfig.java

5、修改默认缩略图、硬解、dns

地址:

https://github.com/wwz09/TVBoxOS/blob/main/app/src/main/java/com/github/tvbox/osc/base/App.java

代码

@@ -53,9 +53,19 @@ private void initParams() {

    if (!Hawk.contains(HawkConfig.PLAY_TYPE)) {

        Hawk.put(HawkConfig.PLAY_TYPE, 1);

    }

    //自定义默认配置-硬解-安全dns-缩略图

    if (!Hawk.contains(HawkConfig.IJK_CODEC)) {

        Hawk.put(HawkConfig.IJK_CODEC, "硬解码");

    }

    if (!Hawk.contains(HawkConfig.DOH_URL)) {

        Hawk.put(HawkConfig.DOH_URL, 2);

    }

    if (!Hawk.contains(HawkConfig.SEARCH_VIEW)) {

        Hawk.put(HawkConfig.SEARCH_VIEW, 2);

    }

}

public static App getInstance() {

    return instance;

}

关于打包

更新慢、弃坑了?实现 Android 应用自给自足:GitHub Actions 编译实例

qbox's People

Contributors

q215613905 avatar lite-cucumber avatar zhanglyt avatar wwz09 avatar roinlong avatar haha459862 avatar dreamdstr avatar tangsan99999 avatar s-dl avatar thanatos518 avatar thanatos888 avatar kimlee-cmd avatar llb0 avatar sirx99 avatar lineagett avatar ixiumu avatar scemsjyd avatar amoylel avatar scut-demo avatar dadiaoo avatar o0halflife0o avatar zyjia avatar catvod avatar 8marco8 avatar shadowdemon1997 avatar comblue avatar lppsuixn avatar okcaptain avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.