fix: package live probe recorder compatibility variants

This commit is contained in:
zhaoyilun
2026-07-10 11:34:14 +08:00
parent f7914a63dc
commit 81f23a6a54
3 changed files with 156 additions and 8 deletions

View File

@@ -29,6 +29,20 @@ Zip package:
runs/live-probe-recorder-package.zip
```
Compatibility layout:
```text
ISphereLiveProbeRecorder.exe # top-level x86 build, use this first
variants/ISphereLiveProbeRecorder-x86.exe # same x86 fallback copy
variants/ISphereLiveProbeRecorder-anycpu.exe # AnyCPU fallback
variants/ISphereLiveProbeRecorder-x64.exe # x64 fallback
check-and-run.bat # prints environment and tries the top-level recorder
run-recorder.bat # runs the top-level recorder
run-x86-fallback.bat # runs the x86 fallback
```
The top-level executable is intentionally x86 because it can start on both 32-bit and 64-bit Windows and is more compatible with older enterprise desktop clients.
The package is generated by:
```powershell
@@ -51,6 +65,8 @@ probe-output/isphere-live-probe-<timestamp>/
8. Compress that generated folder and return it.
If Windows shows `System.BadImageFormatException`, delete the extracted folder, re-extract the latest zip package, and run `check-and-run.bat`. The previous package used an AnyCPU top-level executable; the current package uses x86 at the top level and keeps other builds under `variants/`.
## What it records
The recorder writes: