chore: remove periodic sync for updates on Tauri
This commit is contained in:
parent
b85c1bacc2
commit
c189f951ff
1 changed files with 3 additions and 0 deletions
|
|
@ -37,6 +37,9 @@ export default defineNuxtPlugin(() => {
|
||||||
registrationError.value = true
|
registrationError.value = true
|
||||||
},
|
},
|
||||||
onRegisteredSW(swUrl, r) {
|
onRegisteredSW(swUrl, r) {
|
||||||
|
if (useRuntimeConfig().public.tauriPlatform)
|
||||||
|
return
|
||||||
|
|
||||||
// should add support in pwa plugin
|
// should add support in pwa plugin
|
||||||
if (r?.active?.state === 'activated') {
|
if (r?.active?.state === 'activated') {
|
||||||
swActivated.value = true
|
swActivated.value = true
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue