fix(notification): Fix init.js script for use without global tauri object. (#414)

This commit is contained in:
Fabian-Lars
2023-06-04 13:36:49 +02:00
committed by GitHub
parent cf5864266e
commit d8b4aca69f
2 changed files with 7 additions and 2 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"notification": patch
---
Use `window.__TAURI_INVOKE__` instead of `window.__TAURI__` in init.js, fixes usage in apps without `withGlobalTauri` enabled.