(self, last_digits: int = -15000)
| 418 | pre_uninstall_log: Path | None = None |
| 419 | |
| 420 | def read_text(self, last_digits: int = -15000) -> str: |
| 421 | parts = [ |
| 422 | f"Command: {self.cmd}", |
| 423 | f"Return code: {self.returncode}", |
| 424 | ] |
| 425 | |
| 426 | if self.pre_uninstall_log: |
| 427 | parts.append( |
| 428 | f"\n=== MSI LOG PRE UNINSTALL: {self.pre_uninstall_log} ===\n" |
| 429 | + _read_briefcase_log_tail(self.pre_uninstall_log, last_digits) |
| 430 | ) |
| 431 | |
| 432 | if self.msi_log: |
| 433 | parts.append( |
| 434 | f"\n=== MSI LOG: {self.msi_log} ===\n" |
| 435 | + _read_briefcase_log_tail(self.msi_log, last_digits) |
| 436 | ) |
| 437 | |
| 438 | return "\n".join(parts) |
| 439 | |
| 440 | |
| 441 | def _run_installer_msi( |
nothing calls this directly
no test coverage detected