feat: rebrand to MMD PDF, single corporate theme, and remove original text under an edit

- Services/PdfRedactText.cs: strip text whose origin falls inside a CoverAnnotation
  from the page content stream at save time, hooked into PdfBurn.DrawAnnotationsIntoDoc.
  Fixes edited values staying recoverable by text extraction.
- Themes/MMD.xaml replaces all thirteen themes; picker and accent strip removed; no dark mode.
- Rename KillerPDF -> MMD PDF across code, resources, packaging and locale strings; new icon.
- Remove the upstream author credit and the in-app install button.
This commit is contained in:
2026-08-27 07:37:09 +02:00
parent 532485a830
commit 6610acfa44
230 changed files with 9362 additions and 11508 deletions
+7 -7
View File
@@ -57,18 +57,18 @@ function Read-Trace([string]$Path) {
}
$results = @()
$oldTrace = [Environment]::GetEnvironmentVariable('KILLERPDF_STARTUP_TRACE', 'Process')
$oldTrace = [Environment]::GetEnvironmentVariable('MMDPDF_STARTUP_TRACE', 'Process')
try {
for ($i = 1; $i -le $Iterations; $i++) {
$trace = Join-Path ([IO.Path]::GetTempPath()) ("killerpdf-startup-{0}.trace" -f [guid]::NewGuid().ToString('N'))
[Environment]::SetEnvironmentVariable('KILLERPDF_STARTUP_TRACE', $trace, 'Process')
$trace = Join-Path ([IO.Path]::GetTempPath()) ("mmdpdf-startup-{0}.trace" -f [guid]::NewGuid().ToString('N'))
[Environment]::SetEnvironmentVariable('MMDPDF_STARTUP_TRACE', $trace, 'Process')
$process = Start-Process -FilePath $ExePath -PassThru
$launchedUtc = $process.StartTime.ToUniversalTime()
$deadline = [datetime]::UtcNow.AddSeconds($TimeoutSeconds)
try {
while ([datetime]::UtcNow -lt $deadline) {
if ($process.HasExited) { throw "KillerPDF exited before reaching the ready marker (exit $($process.ExitCode))." }
if ($process.HasExited) { throw "MmdPdf exited before reaching the ready marker (exit $($process.ExitCode))." }
if ((Test-Path -LiteralPath $trace) -and
(Select-String -LiteralPath $trace -SimpleMatch 'MainWindow ready' -Quiet)) { break }
Start-Sleep -Milliseconds 25
@@ -76,7 +76,7 @@ try {
}
if (-not (Test-Path -LiteralPath $trace) -or
-not (Select-String -LiteralPath $trace -SimpleMatch 'MainWindow ready' -Quiet)) {
throw "Timed out after $TimeoutSeconds seconds waiting for KillerPDF startup."
throw "Timed out after $TimeoutSeconds seconds waiting for MmdPdf startup."
}
$timing = Read-Trace $trace
@@ -98,7 +98,7 @@ try {
finally {
if ($Launcher -and -not $process.HasExited) {
$children = @(Get-CimInstance Win32_Process -ErrorAction SilentlyContinue |
Where-Object { $_.ParentProcessId -eq $process.Id -and $_.Name -eq 'KillerPDF.App.exe' })
Where-Object { $_.ParentProcessId -eq $process.Id -and $_.Name -eq 'MmdPdf.App.exe' })
foreach ($child in $children) {
Stop-Process -Id $child.ProcessId -Force -ErrorAction SilentlyContinue
}
@@ -113,7 +113,7 @@ try {
}
}
finally {
[Environment]::SetEnvironmentVariable('KILLERPDF_STARTUP_TRACE', $oldTrace, 'Process')
[Environment]::SetEnvironmentVariable('MMDPDF_STARTUP_TRACE', $oldTrace, 'Process')
}
$results | Export-Csv -LiteralPath $OutputCsv -NoTypeInformation -Encoding UTF8