Skip to content

fix(windows): clean up temporary qpdf staging files #38

Description

@McanKul

Goal

Prevent the Windows qpdf preparation script from leaving offpdf-qpdf-* staging directories in the system temp folder.

Acceptance criteria

  • Temporary staging is removed after both successful and failed runs.
  • Cleanup is guaranteed with try/finally.
  • Copied qpdf binaries and Visual C++ runtime files remain intact.
  • Existing script output and version handling remain unchanged.

Files

  • scripts/prepare-qpdf-windows.ps1

Verification

  • Run the script in PowerShell and compare %TEMP%\offpdf-qpdf-* before and after.
  • Confirm the expected qpdf and runtime files are still staged.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions