Question : detect if webpage running in tauri app
Answered by : talhah-patelia
try { // True => is running in Tauri // False => is not running in Tauri console.log(typeof window.__TAURI_IPC__ !== 'undefined')
} catch (error) {
}
Source : | Last Update : Thu, 13 Oct 22