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,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