mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-18 16:02:57 +00:00
fix: windows build broke
This commit is contained in:
@@ -6,7 +6,7 @@ import {browser} from "$app/environment"
|
||||
|
||||
export const VENDOR_ID = 0x239a
|
||||
|
||||
if (browser && import.meta.env.TAURI_FAMILY !== undefined) {
|
||||
if (browser && navigator.serial === undefined && import.meta.env.TAURI_FAMILY !== undefined) {
|
||||
await import("./tauri-serial")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user