Open-source download manager & offline media toolbox for YouTube, music, social media, learning platforms & 1,800+ sites. Built with Tauri 2.0, Rust & Svelte.
Rust downloadmanagerguihacktoberfesthomebrewlightweightlinuxlinux-distributionlocal-firstmacosmacos-packagemedia-toolboxopen-sourcerustsveltetauritrendingtrending-repositorieswindowswindows-desktopytdlp
fix(release): restore the updater signatures (#298)
antonioa59537ef2c23
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex a3edcb1b..9433d609 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -64,10 +64,6 @@ jobs:GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}- # `createUpdaterArtifacts` is `false` in the committed tauri.conf.json so- # that anyone building from source does not need the release signing key;- # re-enable it here, only for tagged releases.- TAURI_CONFIG: '{"bundle":{"createUpdaterArtifacts":true}}'LDAI_UPDATE_INFORMATION: ${{ contains(matrix.platform, 'ubuntu') && 'gh-releases-zsync|tonhowtf|omniget|latest|*AppImage.zsync' || '' }}NODE_OPTIONS: --max-old-space-size=6144with:diff --git a/README.md b/README.mdindex ccfa73b9..2d5d531d 100644--- a/README.md+++ b/README.md@@ -375,7 +375,13 @@ sudo apt-get install -y libwebkit2gtk-4.1-dev build-essential curl wget file lib</details>-Production build: `pnpm tauri build`.+Production build:++```bash+pnpm tauri build --config '{"bundle":{"createUpdaterArtifacts":false}}'+```++Releases sign their updater artifacts with a private key only the maintainers hold, so a plain `pnpm tauri build` stops at the bundling step with *"A public key has been found, but no private key"*. The flag above turns those artifacts off for your local build — everything else is identical. It is passed on the command line rather than committed to `tauri.conf.json` on purpose: a config that disables them by default would silently ship a release with no signatures and break the auto-updater for everyone.### Command line interfacediff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.jsonindex 9e82419d..e2aaaf7d 100644--- a/src-tauri/tauri.conf.json+++ b/src-tauri/tauri.conf.json@@ -56,7 +56,7 @@"bundle": {"active": true,"targets": "all",- "createUpdaterArtifacts": false,+ "createUpdaterArtifacts": true,"resources": {"../browser-extension/chrome/": "browser-extension/chrome/","../browser-extension/firefox/": "browser-extension/firefox/"