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:
@@ -1,19 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>killerpdf</id>
|
||||
<id>mmdpdf</id>
|
||||
<version>REPLACE_VERSION</version>
|
||||
<packageSourceUrl>https://github.com/SteveTheKiller/KillerPDF</packageSourceUrl>
|
||||
<packageSourceUrl>https://github.com/SteveTheKiller/MmdPdf</packageSourceUrl>
|
||||
<owners>SteveTheKiller</owners>
|
||||
<title>KillerPDF</title>
|
||||
<title>MmdPdf</title>
|
||||
<authors>Steve / thekiller.net</authors>
|
||||
<projectUrl>https://killerpdf.net</projectUrl>
|
||||
<iconUrl>https://raw.githubusercontent.com/SteveTheKiller/KillerPDF/main/Resources/kp-icon.ico</iconUrl>
|
||||
<licenseUrl>https://github.com/SteveTheKiller/KillerPDF/blob/main/LICENSE</licenseUrl>
|
||||
<projectUrl>https://baobab-ts.com</projectUrl>
|
||||
<iconUrl>https://raw.githubusercontent.com/SteveTheKiller/MmdPdf/main/Resources/mmd-icon.ico</iconUrl>
|
||||
<licenseUrl>https://github.com/SteveTheKiller/MmdPdf/blob/main/LICENSE</licenseUrl>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<projectSourceUrl>https://github.com/SteveTheKiller/KillerPDF</projectSourceUrl>
|
||||
<docsUrl>https://github.com/SteveTheKiller/KillerPDF/blob/main/README.md</docsUrl>
|
||||
<bugTrackerUrl>https://github.com/SteveTheKiller/KillerPDF/issues</bugTrackerUrl>
|
||||
<projectSourceUrl>https://github.com/SteveTheKiller/MmdPdf</projectSourceUrl>
|
||||
<docsUrl>https://github.com/SteveTheKiller/MmdPdf/blob/main/README.md</docsUrl>
|
||||
<bugTrackerUrl>https://github.com/SteveTheKiller/MmdPdf/issues</bugTrackerUrl>
|
||||
<tags>pdf viewer editor annotate merge split sign ocr cli portable</tags>
|
||||
<summary>PDF editor for Windows. No Adobe, no subscription, no telemetry.</summary>
|
||||
<description>PDF editor for Windows. View, annotate, OCR, merge, split, edit text, draw, sign, fill forms, print, flatten, and open password-protected PDFs without an Adobe subscription or a phone-home.
|
||||
@@ -40,7 +40,7 @@
|
||||
- Single Windows EXE, ~16 MB, no runtime install; self-installs per-user, machine-wide, or runs portable
|
||||
- GPLv3, local-only, no account, no telemetry
|
||||
</description>
|
||||
<releaseNotes>https://github.com/SteveTheKiller/KillerPDF/releases/tag/vREPLACE_VERSION</releaseNotes>
|
||||
<releaseNotes>https://github.com/SteveTheKiller/MmdPdf/releases/tag/vREPLACE_VERSION</releaseNotes>
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="tools\**" target="tools" />
|
||||
@@ -1,13 +1,13 @@
|
||||
$ErrorActionPreference = 'Stop'
|
||||
$toolsDir = Split-Path -Parent $MyInvocation.MyCommand.Definition
|
||||
$version = $env:ChocolateyPackageVersion
|
||||
$installDir = Join-Path $env:ProgramFiles 'KillerPDF'
|
||||
$installExe = Join-Path $installDir 'KillerPDF.exe'
|
||||
$installDir = Join-Path $env:ProgramFiles 'MmdPdf'
|
||||
$installExe = Join-Path $installDir 'MmdPdf.exe'
|
||||
|
||||
$packageArgs = @{
|
||||
packageName = $env:ChocolateyPackageName
|
||||
fileFullPath = Join-Path $toolsDir 'KillerPDF.exe'
|
||||
url64bit = "https://github.com/SteveTheKiller/KillerPDF/releases/download/v$version/KillerPDF.exe"
|
||||
fileFullPath = Join-Path $toolsDir 'MmdPdf.exe'
|
||||
url64bit = "https://github.com/SteveTheKiller/MmdPdf/releases/download/v$version/MmdPdf.exe"
|
||||
checksum64 = 'REPLACE_HASH'
|
||||
checksumType64 = 'sha256'
|
||||
}
|
||||
@@ -16,8 +16,8 @@ Get-ChocolateyWebFile @packageArgs
|
||||
|
||||
# Copy to Program Files
|
||||
New-Item -ItemType Directory -Force -Path $installDir | Out-Null
|
||||
Copy-Item (Join-Path $toolsDir 'KillerPDF.exe') $installExe -Force
|
||||
Copy-Item (Join-Path $toolsDir 'MmdPdf.exe') $installExe -Force
|
||||
|
||||
# Start Menu shortcut (All Users)
|
||||
$startMenuPath = Join-Path $env:ProgramData 'Microsoft\Windows\Start Menu\Programs\KillerPDF.lnk'
|
||||
$startMenuPath = Join-Path $env:ProgramData 'Microsoft\Windows\Start Menu\Programs\MmdPdf.lnk'
|
||||
Install-ChocolateyShortcut -ShortcutFilePath $startMenuPath -TargetPath $installExe
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
$ErrorActionPreference = 'Stop'
|
||||
|
||||
$installDir = Join-Path $env:ProgramFiles 'KillerPDF'
|
||||
$installDir = Join-Path $env:ProgramFiles 'MmdPdf'
|
||||
if (Test-Path $installDir) { Remove-Item $installDir -Recurse -Force }
|
||||
|
||||
$startMenuPath = Join-Path $env:ProgramData 'Microsoft\Windows\Start Menu\Programs\KillerPDF.lnk'
|
||||
$startMenuPath = Join-Path $env:ProgramData 'Microsoft\Windows\Start Menu\Programs\MmdPdf.lnk'
|
||||
if (Test-Path $startMenuPath) { Remove-Item $startMenuPath -Force }
|
||||
|
||||
Reference in New Issue
Block a user