From 7abcccb333280c7fea7f27f2986f3b7811d80ec5 Mon Sep 17 00:00:00 2001 From: Dandaedre Date: Sat, 21 Nov 2026 12:32:19 +0100 Subject: [PATCH] Switch PDF Presenter to Deckstride --- TASKS.md | 2 +- profiles/desktop-apps.json | 27 +++++++++++++++++---------- tests/Manifest.Tests.ps1 | 7 ++++--- 3 files changed, 22 insertions(+), 14 deletions(-) diff --git a/TASKS.md b/TASKS.md index b8b4533..72faa2e 100644 --- a/TASKS.md +++ b/TASKS.md @@ -165,7 +165,7 @@ open until it is run on disposable machines with the required account setups. - [x] Remove superseded portable versions after successful activation while retaining the working version on failed updates and retrying interrupted cleanup (168 Linux Pester tests pass; 5 Windows-only skips). - [x] Give PDF Presenter associations a dedicated branded PDF document icon that remains stable across portable updates (169 Linux Pester tests pass; 5 Windows-only skips). - [x] Support explicit portable rename migrations that activate the successor before removing the verified old installation and handler registration, preserve local edits, and retry cleanup (189 Linux Pester tests pass; 5 Windows-only skips). -- [ ] Replace the PDF Presenter declaration with the verified Deckstride release from `idle-org/Deckstride`, then select Deckstride once as the Windows `.pdf` default. +- [x] Replace the PDF Presenter declaration with verified Deckstride 0.1.96 from `idle-org/Deckstride`; keep the one-time Windows `.pdf` default selection in the Windows acceptance task (192 Linux Pester tests pass; 5 Windows-only skips). ## PowerShell prerequisite reliability diff --git a/profiles/desktop-apps.json b/profiles/desktop-apps.json index 648ce2a..dcb433a 100644 --- a/profiles/desktop-apps.json +++ b/profiles/desktop-apps.json @@ -5,23 +5,30 @@ "description": "Desktop productivity, communication, creative, media, and file synchronization applications.", "packages": [ { - "id": "pdf-presenter", + "id": "deckstride", "provider": "portable", "source": "idle-org", "scope": "user", "update": "pinned", - "version": "0.1.91", - "url": "https://proxy.dandaedre.com/gitea/idle-org/pdf-presenter/releases/download/v0.1.91/pdf-presenter-portable-x86_64-pc-windows-gnu-v0.1.91.zip", - "sha256": "a6030676245f3891b85f936ade7fb13d44baaea95e8e0e2cb2ef9b18937c5136", - "executable": "pdf-presenter-portable-x86_64-pc-windows-gnu-v0.1.91/pdf-presenter.exe", - "releaseApi": "https://proxy.dandaedre.com/gitea/api/v1/repos/idle-org/pdf-presenter/releases", + "version": "0.1.96", + "url": "https://proxy.dandaedre.com/gitea/idle-org/Deckstride/releases/download/v0.1.96/deckstride-portable-x86_64-pc-windows-gnu-v0.1.96.zip", + "sha256": "5b5ed9f8fa268aa6a04a0b359fe40d99d047abdb489b154ac7e6f66376d8fc19", + "executable": "deckstride-portable-x86_64-pc-windows-gnu-v0.1.96/deckstride.exe", + "releaseApi": "https://proxy.dandaedre.com/gitea/api/v1/repos/idle-org/Deckstride/releases", "releaseChannel": "stable", - "assetTemplate": "pdf-presenter-portable-x86_64-pc-windows-gnu-v{version}.zip", - "executableTemplate": "pdf-presenter-portable-x86_64-pc-windows-gnu-v{version}/pdf-presenter.exe", + "assetTemplate": "deckstride-portable-x86_64-pc-windows-gnu-v{version}.zip", + "executableTemplate": "deckstride-portable-x86_64-pc-windows-gnu-v{version}/deckstride.exe", "checksumAsset": "SHA256SUMS", - "displayName": "PDF Presenter", + "displayName": "Deckstride", "fileAssociations": [".pdf"], - "fileAssociationIcon": "assets/pdf-presenter-pdf.ico" + "fileAssociationIcon": "assets/pdf-presenter-pdf.ico", + "replaces": [ + { + "source": "idle-org", + "id": "pdf-presenter", + "fileAssociations": [".pdf"] + } + ] }, { "id": "pptx-reporter", diff --git a/tests/Manifest.Tests.ps1 b/tests/Manifest.Tests.ps1 index cd32fb6..bfdaea4 100644 --- a/tests/Manifest.Tests.ps1 +++ b/tests/Manifest.Tests.ps1 @@ -20,16 +20,17 @@ Describe 'Manifest resolution' { $result.packages.id | Should -Contain 'Waterfox.Waterfox' $result.packages.id | Should -Contain 'Meltytech.Shotcut' $result.packages.id | Should -Contain 'clsid2.mpc-hc' - $presenter = $result.packages | Where-Object id -eq 'pdf-presenter' + $presenter = $result.packages | Where-Object id -eq 'deckstride' $presenter.provider | Should -Be 'portable' $presenter.scope | Should -Be 'user' $presenter.update | Should -Be 'pinned' - $presenter.displayName | Should -Be 'PDF Presenter' + $presenter.displayName | Should -Be 'Deckstride' ($presenter.fileAssociations -is [Array]) | Should -BeTrue $presenter.fileAssociations | Should -Be @('.pdf') $presenter.fileAssociationIcon | Should -Be 'assets/pdf-presenter-pdf.ico' - $presenter.version | Should -Be '0.1.91' + $presenter.version | Should -Be '0.1.96' $presenter.releaseChannel | Should -Be 'stable' + $presenter.replaces[0].id | Should -Be 'pdf-presenter' $reporter = $result.packages | Where-Object id -eq 'pptx-reporter' $reporter.provider | Should -Be 'portable' $reporter.source | Should -Be 'beffroi'