fix: check __TAURI_INTERNALS__ for Tauri availability
This commit is contained in:
@@ -166,7 +166,8 @@ const skippedPeople = computed(() => {
|
||||
|
||||
onMounted(async () => {
|
||||
// Wait for Tauri to be ready
|
||||
if (!(window as any).__TAURI__) {
|
||||
const tauri = (window as any).__TAURI_INTERNALS__ || (window as any).__TAURI__
|
||||
if (!tauri) {
|
||||
console.error('Tauri not available - must run inside Tauri webview')
|
||||
loading.value = false
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user