Coder Social home page Coder Social logo

autojs-replace-inrt's Introduction

Auto.js apk build

成品

APK demo 下载
demo 构建脚本

原理

  1. fork hyb1996/Auto.js 修改成 demoshang/Auto.js
  2. 利用 inrt 项目, 替换 assets 实现 apk 构建

使用

修改project.json符合以下说明

{
  // app 的名字
  "name": "xxx",
  // 包的名字, 符合android规定
  "packageName": "com.autojs.demo.xxx",
  // app 的 logo, 必须是 png 图片
  "logo": "xxx.png",
  // app 启动页面图片, 必须是 png 图片
  "splash": "xxx.png",
  // 入口文件必须是 main.js
  "main": "main.js",
  // 版本号
  "versionName": "0.1.0",
  // 版本号的数字表示
  "versionCode": 700,
  "ignore": []
}

构建

# npm 构建
npx @s4p/autojs-replace-inrt "Auto.js项目目录" "js代码目录"

# dev 构建
npm start -- "Auto.js项目目录" "js代码目录"

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.