feat(android): add Flutter WebView app with Docker release builds

This commit is contained in:
2026-10-15 16:38:19 +08:00
parent 2745f2491b
commit 589937213f
43 changed files with 1608 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
import 'dart:io';
// 在 flutter pub get 前运行,不能依赖生成的 package_config.json。
// ignore: avoid_relative_lib_imports
import '../lib/config.dart';
void main(List<String> args) {
if (args.length != 1 || !isValidSiteUrl(args.single)) {
stderr.writeln('站点地址必须是完整 HTTPS URL,不能包含账号密码、空白、查询参数或片段。');
exitCode = 64;
}
}