Skip to content

Edit PDFs on your own device: text, signatures, form filling, highlights, white-out, merge, split, reorder and rotate pages. In the browser or as a Windows app. English and Turkish.

Release a ZIP for Scoop, a checksum per file and build attestations

Talkdedsecb46e38d8bd20
diff --git a/.github/release-notes.md b/.github/release-notes.md
index eef25f8..a99da00 100644
--- a/.github/release-notes.md
+++ b/.github/release-notes.md
@@ -4,7 +4,10 @@
| --- | --- |
| `tlk-pdf-*-portable.exe` | Single file, no installation. Double-click to run. |
| `tlk-pdf-*-setup.exe` | Installs for the current user with shortcuts, **Open with → TLK PDF** for PDF files, and an uninstaller. |
-| `SHA256SUMS.txt` | Checksums for both files. |
+| `tlk-pdf-*-win-x64.zip` | The unpacked program in a ZIP, used by Scoop. |
+| `SHA256SUMS.txt`, `*.sha256` | Checksums. Builds also carry a GitHub attestation: `gh attestation verify <file> --owner Talkdedsec`. |
+
+With [Scoop](https://scoop.sh): `scoop bucket add tlk https://github.com/Talkdedsec/scoop-tlk` then `scoop install tlk/tlk-pdf`.
What changed is in [CHANGELOG.md](https://github.com/Talkdedsec/tlk-pdf/blob/main/CHANGELOG.md). The executables are not code-signed. If Windows SmartScreen shows "Windows protected your PC", choose **More info → Run anyway**.
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index dd0980a..5f63178 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -5,6 +5,8 @@ on:
workflow_dispatch:
permissions:
contents: write
+ id-token: write
+ attestations: write
jobs:
windows:
runs-on: windows-latest
@@ -22,13 +24,23 @@ jobs:
shell: bash
run: |
cd release
- sha256sum *.exe > SHA256SUMS.txt
+ sha256sum *.exe *.zip > SHA256SUMS.txt
+ for f in *.exe *.zip; do sha256sum "$f" | cut -d" " -f1 > "$f.sha256"; done
cat SHA256SUMS.txt
+ - name: Build provenance
+ if: startsWith(github.ref, 'refs/tags/')
+ uses: actions/attest-build-provenance@v2
+ with:
+ subject-path: |
+ release/*.exe
+ release/*.zip
- uses: actions/upload-artifact@v4
with:
name: tlk-pdf-windows
path: |
release/*.exe
+ release/*.zip
+ release/*.sha256
release/SHA256SUMS.txt
- name: Publish release
if: startsWith(github.ref, 'refs/tags/')
@@ -36,7 +48,7 @@ jobs:
env:
GH_TOKEN: ${{ github.token }}
run: |
- gh release create "$GITHUB_REF_NAME" release/*.exe release/SHA256SUMS.txt \
+ gh release create "$GITHUB_REF_NAME" release/*.exe release/*.zip release/*.sha256 release/SHA256SUMS.txt \
--title "TLK PDF $GITHUB_REF_NAME" \
--notes-file .github/release-notes.md \
--verify-tag
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c037e81..06a3111 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,7 @@
- Fields that stay fillable after saving embed the complete font, so other programs can type any letter into them later.
- The text box no longer hides the first letter while you type.
- README demos for English and Turkish.
+- Windows releases also come as a ZIP (used by the Scoop bucket), with a `.sha256` file per download and a GitHub build attestation.
## 1.0.0
diff --git a/README.md b/README.md
index d0cd7f5..bbb9a2a 100644
--- a/README.md
+++ b/README.md
@@ -63,10 +63,18 @@ Download from the [latest release](https://github.com/Talkdedsec/tlk-pdf/release
- `tlk-pdf-<version>-portable.exe`: a single file, no installation. Double-click to run.
- `tlk-pdf-<version>-setup.exe`: installs for the current user, with Start menu and desktop shortcuts, **Open with → TLK PDF** for PDF files, and an uninstaller.
+- `tlk-pdf-<version>-win-x64.zip`: the unpacked program, for unzipping anywhere.
+
+Or with [Scoop](https://scoop.sh):
+
+```powershell
+scoop bucket add tlk https://github.com/Talkdedsec/scoop-tlk
+scoop install tlk/tlk-pdf
+```
It is the same app as the website, works completely offline and saves through the normal Windows Save dialog. Once a day it checks GitHub for a newer release and tells you; nothing else leaves your computer.
-The executables are not code-signed, so Windows SmartScreen may show "Windows protected your PC". Choose **More info → Run anyway**, or check the file against `SHA256SUMS.txt` in the release first.
+The executables are not code-signed, so Windows SmartScreen may show "Windows protected your PC". Choose **More info → Run anyway**, or check the file first: against `SHA256SUMS.txt` in the release, or with `gh attestation verify <file> --owner Talkdedsec`, which proves which commit and workflow built it.
## Shortcuts
diff --git a/README.tr.md b/README.tr.md
index 3601da1..780fe99 100644
--- a/README.tr.md
+++ b/README.tr.md
@@ -63,10 +63,18 @@ Her şey kendi cihazında olur: tarayıcıda GitHub Pages üzerinden (kurulabili
- `tlk-pdf-<sürüm>-portable.exe`: tek dosya, kurulum yok. Çift tıklayıp çalıştır.
- `tlk-pdf-<sürüm>-setup.exe`: geçerli kullanıcı için kurar; Başlat menüsü ve masaüstü kısayolu, PDF dosyalarında **Birlikte aç → TLK PDF** ve kaldırıcı ile.
+- `tlk-pdf-<sürüm>-win-x64.zip`: istediğin yere açabileceğin, kurulumsuz program klasörü.
+
+Ya da [Scoop](https://scoop.sh) ile:
+
+```powershell
+scoop bucket add tlk https://github.com/Talkdedsec/scoop-tlk
+scoop install tlk/tlk-pdf
+```
Web sitesindekiyle aynı uygulamadır, tamamen internetsiz çalışır ve Windows'un normal Kaydet penceresiyle kaydeder. Günde bir kez GitHub'da yeni sürüm olup olmadığına bakar ve sana söyler; bunun dışında bilgisayarından hiçbir şey çıkmaz.
-Dosyalar kod imzalı değildir; Windows SmartScreen "Windows bilgisayarınızı korudu" diyebilir. **Ek bilgi → Yine de çalıştır**'ı seç ya da önce dosyayı sürümdeki `SHA256SUMS.txt` ile karşılaştır.
+Dosyalar kod imzalı değildir; Windows SmartScreen "Windows bilgisayarınızı korudu" diyebilir. **Ek bilgi → Yine de çalıştır**'ı seç ya da önce dosyayı kontrol et: sürümdeki `SHA256SUMS.txt` ile ya da hangi commit ve iş akışının derlediğini kanıtlayan `gh attestation verify <dosya> --owner Talkdedsec` ile.
## Kısayollar
diff --git a/package.json b/package.json
index 368dcfb..2535301 100644
--- a/package.json
+++ b/package.json
@@ -52,9 +52,11 @@
"win": {
"target": [
"portable",
- "nsis"
+ "nsis",
+ "zip"
],
- "icon": "build/icon.png"
+ "icon": "build/icon.png",
+ "artifactName": "tlk-pdf-${version}-win-${arch}.${ext}"
},
"portable": {
"artifactName": "tlk-pdf-${version}-portable.exe"