From 6bdc7627cbc56120b878212a523e16b9e749ca34 Mon Sep 17 00:00:00 2001 From: u8array Date: Tue, 14 Jul 2026 22:51:34 +0200 Subject: [PATCH 1/2] chore(release): windows NSIS-only bundle, create drafts as prerelease --- .github/workflows/release.yml | 4 +++- src-tauri/tauri.conf.json | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1dd6f57f..352267e5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -86,11 +86,13 @@ jobs: --jq ".[] | select(.tag_name==\"$TAG\" and .draft) | .id") ID=$(printf '%s\n' "$DRAFTS" | head -n1) if [ -z "$ID" ]; then + # prerelease default: 0.x must not become "latest" by a publish + # click alone (the updater endpoint serves releases/latest). ID=$(gh api -X POST "repos/$GITHUB_REPOSITORY/releases" \ -f tag_name="$TAG" \ -f name="ZPLab $TAG" \ -f body="See the assets to download this version and install." \ - -F draft=true --jq .id) + -F draft=true -F prerelease=true --jq .id) fi echo "release_id=$ID" >> "$GITHUB_OUTPUT" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index add781a6..b1f57eef 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -36,6 +36,7 @@ }, "bundle": { "active": true, + "targets": ["nsis", "app", "dmg", "appimage", "deb", "rpm"], "createUpdaterArtifacts": true, "publisher": "u8array", "copyright": "© 2026 u8array", From 3b246af81418c25ad18732bf87a7d011b08ec4c0 Mon Sep 17 00:00:00 2001 From: u8array Date: Tue, 14 Jul 2026 23:50:21 +0200 Subject: [PATCH 2/2] chore(attribution): regenerate rust third-party licenses (nusb) --- src-tauri/THIRD-PARTY-LICENSES-RUST.md | 53 +++++++++++++++++++++++++- 1 file changed, 52 insertions(+), 1 deletion(-) diff --git a/src-tauri/THIRD-PARTY-LICENSES-RUST.md b/src-tauri/THIRD-PARTY-LICENSES-RUST.md index f741da86..93307ac1 100644 --- a/src-tauri/THIRD-PARTY-LICENSES-RUST.md +++ b/src-tauri/THIRD-PARTY-LICENSES-RUST.md @@ -8,7 +8,7 @@ drifts from the locked dependencies. ## Overview -- MIT License (384) +- MIT License (387) - Unicode License v3 (19) - Apache License 2.0 (5) - Mozilla Public License 2.0 (5) @@ -2630,6 +2630,22 @@ DEALINGS IN THE SOFTWARE. Used by: +- [io-kit-sys 0.5.0](https://github.com/jtakakura/io-kit-rs) +```` +Copyright (c) 2017-2018 Junji Takakura + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +```` + +### MIT License + +Used by: + - [enumflags2 0.7.12](https://github.com/meithecatte/enumflags2) ```` Copyright (c) 2017-2023 Maik Klein, Maja Kądziołka @@ -3095,6 +3111,40 @@ DEALINGS IN THE SOFTWARE. Used by: +- [mach2 0.5.0](https://github.com/JohnTitor/mach2) +```` +Copyright (c) 2019 Nick Fitzgerald, 2021 Yuki Okushi + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + +```` + +### MIT License + +Used by: + - [tracing-attributes 0.1.31](https://github.com/tokio-rs/tracing) - [tracing-core 0.1.36](https://github.com/tokio-rs/tracing) - [tracing 0.1.44](https://github.com/tokio-rs/tracing) @@ -4895,6 +4945,7 @@ Used by: - [futures-lite 2.6.1](https://github.com/smol-rs/futures-lite) - [itoa 1.0.18](https://github.com/dtolnay/itoa) - [linux-raw-sys 0.12.1](https://github.com/sunfishcode/linux-raw-sys) +- [nusb 0.2.4](https://github.com/kevinmehall/nusb) - [once_cell 1.21.4](https://github.com/matklad/once_cell) - [ordered-stream 0.2.0](https://github.com/danieldg/ordered-stream) - [parking 2.2.1](https://github.com/smol-rs/parking)