Files
jiecheng-business/build_channels.bat
zhaogd d11464d466 基线备份:thirdparty 变体完成 + Android 4.2 兼容改造前
包含内容:
- thirdparty flavor 独立 applicationId + Intent 入口(ThirdPartyEntryActivity)
- 58 后端接口适配(单 /api 路径、code 0/200、camelCase 字段、UNBOUND 轮询)
- MAC 硬件锚定校验(防一凭证多设备共用)
- EPG mac 覆盖 SDK init(sMacOverride)+ ChannelManger 初始化对齐
- 提示文案优化(设备未注册/权益未绑定)
2026-08-25 11:16:40 +08:00

35 lines
953 B
Batchfile
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@echo off
REM ========== 基础路径配置 ==========
set PROJECT_PATH=D:\pk\jiecheng
set MODULE_NAME=app
REM 定义需要打包的环境 Release Preview
set ENVIRONMENT=Release
cd /d %PROJECT_PATH%
REM 定义需要打包的渠道列表 必须由jc开头
set CHANNEL_LIST=jctongyong_al
REM 修改格式
set CHANNEL_LIST=%CHANNEL_LIST:~1%
REM ========== 核心打包循环 ==========
for %%C in (assembleJ%CHANNEL_LIST%%ENVIRONMENT%) do (
echo.
echo [INFO] ============Start for channels [%%C] build APK ...
REM 使用Gradle命令执行打包,关键步骤:
call gradlew :app:%%C
if errorlevel 1 (
echo [ERROR] ============channels [%%C] build fail!
pause
exit /b 1
) else (
echo [SUCCESS] ============channels [%%C] build success。
)
)
echo.
echo [INFO] ============Build All APK Over!
REM 自动打开输出目录
start "" "%PROJECT_PATH%\%MODULE_NAME%\build\outputs\apk\"
pause