[PR #259] [MERGED] Integrated update experience #184

Closed
opened 2025-12-29 07:19:42 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/mountain-loop/yaak/pull/259
Author: @gschier
Created: 10/1/2025
Status: Merged
Merged: 10/1/2025
Merged by: @gschier

Base: mainHead: updater-refactor


📝 Commits (5)

  • 2e8b27d Integrated updater
  • a16c26d Update src-tauri/src/updates.rs
  • 2481943 Use app cache instead
  • 0b6c0fe Change page
  • fa0028f Enhance notification and add auto-download setting

📊 Changes

35 files changed (+631 additions, -155 deletions)

View changed files

📝 package-lock.json (+9 -0)
📝 package.json (+2 -1)
📝 src-tauri/Cargo.lock (+1 -0)
📝 src-tauri/Cargo.toml (+3 -2)
src-tauri/bindings/index.ts (+11 -0)
📝 src-tauri/capabilities/default.json (+2 -5)
src-tauri/package.json (+6 -0)
📝 src-tauri/src/error.rs (+4 -0)
📝 src-tauri/src/lib.rs (+23 -4)
📝 src-tauri/src/notifications.rs (+20 -9)
📝 src-tauri/src/plugin_events.rs (+1 -1)
📝 src-tauri/src/updates.rs (+248 -42)
src-tauri/tauri.commercial.conf.json (+35 -0)
📝 src-tauri/tauri.conf.json (+0 -10)
📝 src-tauri/tauri.development.conf.json (+0 -0)
📝 src-tauri/yaak-license/index.ts (+10 -3)
📝 src-tauri/yaak-models/bindings/gen_models.ts (+1 -1)
📝 src-tauri/yaak-models/bindings/gen_util.ts (+1 -1)
src-tauri/yaak-models/migrations/20251001082054_auto-download.sql (+2 -0)
📝 src-tauri/yaak-models/src/models.rs (+4 -0)

...and 15 more files

📄 Description

Say goodbye to the native modal alert popping in and interrupting your experience!

  • Auto-download update in the background (idempotent)
  • Show subtle toast when update is available
  • [fix] Restarting after update now works again
  • Ability for update server to force old update mechanism (ie. in case of UI)
CleanShot 2025-10-01 at 07 47 58@2x

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/mountain-loop/yaak/pull/259 **Author:** [@gschier](https://github.com/gschier) **Created:** 10/1/2025 **Status:** ✅ Merged **Merged:** 10/1/2025 **Merged by:** [@gschier](https://github.com/gschier) **Base:** `main` ← **Head:** `updater-refactor` --- ### 📝 Commits (5) - [`2e8b27d`](https://github.com/mountain-loop/yaak/commit/2e8b27d789bd1f7778f73217e820202c16dd745c) Integrated updater - [`a16c26d`](https://github.com/mountain-loop/yaak/commit/a16c26d5c63ec2e0bdbd964c9975a0d361b7b664) Update src-tauri/src/updates.rs - [`2481943`](https://github.com/mountain-loop/yaak/commit/2481943bdb0a0ee9d403aa40c800cec6a5cb054b) Use app cache instead - [`0b6c0fe`](https://github.com/mountain-loop/yaak/commit/0b6c0fe6b92e8f213a3d04f563b7f94c57096f02) Change page - [`fa0028f`](https://github.com/mountain-loop/yaak/commit/fa0028f1b00f43329dfe5eb0ee642348d9c30ec6) Enhance notification and add auto-download setting ### 📊 Changes **35 files changed** (+631 additions, -155 deletions) <details> <summary>View changed files</summary> 📝 `package-lock.json` (+9 -0) 📝 `package.json` (+2 -1) 📝 `src-tauri/Cargo.lock` (+1 -0) 📝 `src-tauri/Cargo.toml` (+3 -2) ➕ `src-tauri/bindings/index.ts` (+11 -0) 📝 `src-tauri/capabilities/default.json` (+2 -5) ➕ `src-tauri/package.json` (+6 -0) 📝 `src-tauri/src/error.rs` (+4 -0) 📝 `src-tauri/src/lib.rs` (+23 -4) 📝 `src-tauri/src/notifications.rs` (+20 -9) 📝 `src-tauri/src/plugin_events.rs` (+1 -1) 📝 `src-tauri/src/updates.rs` (+248 -42) ➕ `src-tauri/tauri.commercial.conf.json` (+35 -0) 📝 `src-tauri/tauri.conf.json` (+0 -10) 📝 `src-tauri/tauri.development.conf.json` (+0 -0) 📝 `src-tauri/yaak-license/index.ts` (+10 -3) 📝 `src-tauri/yaak-models/bindings/gen_models.ts` (+1 -1) 📝 `src-tauri/yaak-models/bindings/gen_util.ts` (+1 -1) ➕ `src-tauri/yaak-models/migrations/20251001082054_auto-download.sql` (+2 -0) 📝 `src-tauri/yaak-models/src/models.rs` (+4 -0) _...and 15 more files_ </details> ### 📄 Description Say goodbye to the native modal alert popping in and interrupting your experience! - Auto-download update in the background (idempotent) - Show subtle toast when update is available - [fix] Restarting after update now works again - Ability for update server to force old update mechanism (ie. in case of UI) <img width="1344" height="622" alt="CleanShot 2025-10-01 at 07 47 58@2x" src="https://github.com/user-attachments/assets/4489042a-fe07-46a1-a919-4c05804c41b4" /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 07:19:42 +01:00
adam closed this issue 2025-12-29 07:19:42 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/yaak#184