This commit is contained in:
eric
2026-04-05 01:00:07 -05:00
parent b94c00fe56
commit 4bd5a33d3a
2607 changed files with 137903 additions and 92 deletions

20
FullDeploy.ps1 Normal file
View File

@@ -0,0 +1,20 @@
# 一键部署。密码FL_SSH_PASS 或 fl_ssh_pass.txt
# 默认:编译+装包+自动授权。加 -Codex再 jadx 双包/原版 + 运行时截图/dumpsys/内存/logcat/Magisk&LSPosed 路径扫描,并拉回 analysis_pull/
param(
[switch]$Codex
)
$ErrorActionPreference = "Stop"
$Root = $PSScriptRoot
$Secret = Join-Path $Root "fl_ssh_pass.txt"
if (-not $env:FL_SSH_PASS -and (Test-Path -LiteralPath $Secret)) {
$env:FL_SSH_PASS = (Get-Content -LiteralPath $Secret -Raw).Trim()
}
if (-not $env:FL_SSH_PASS) {
throw "请设置环境变量 FL_SSH_PASS或在 $Root 下创建 fl_ssh_pass.txt单行密码"
}
if ($Codex) {
& python (Join-Path $Root "_codex_full_pipeline.py") @args
} else {
& python (Join-Path $Root "_remote_adb_install_test.py") @args
}
exit $LASTEXITCODE