We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fda9fe commit 78b8c8eCopy full SHA for 78b8c8e
src/js/serial.js
@@ -34,7 +34,7 @@ class Serial extends EventTarget {
34
*/
35
async init() {
36
// Dynamically include the native Tauri serial adapter so web builds don't try to resolve it.
37
- if (isTauri) {
+ if (isTauri()) {
38
try {
39
const { default: TauriSerial } = await import("./protocols/TauriSerial.js");
40
const inst = new TauriSerial();
0 commit comments