mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-09-22 21:30:44 +02:00
refactor(updater)!: remove deprecated Update.available field (#3607)
* refactor(updater)!: remove deprecated Update.available field It was always `true`; check whether `check()` returned `null` instead. * fix(examples): remove usage of the dropped Update.available field * Update .changes/updater-remove-available.md --------- Co-authored-by: Amr Bashir <github@amrbashir.me>
This commit is contained in:
co-authored by
Amr Bashir
parent
b4011607e0
commit
6a12f7c80a
@@ -19,7 +19,6 @@
|
||||
try {
|
||||
const update = await check()
|
||||
if (update) {
|
||||
onMessage(`Should update: ${update.available}`)
|
||||
onMessage(update)
|
||||
|
||||
newUpdate = update
|
||||
|
||||
Reference in New Issue
Block a user