fix: windows build broke

This commit is contained in:
2023-08-04 21:35:02 +02:00
parent 86476cfdd8
commit a134b970ee
4 changed files with 4 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
{ {
"name": "amacc1ng", "name": "amacc1ng",
"version": "0.4.0", "version": "0.4.1",
"license": "AGPL-3.0-or-later", "license": "AGPL-3.0-or-later",
"private": true, "private": true,
"scripts": { "scripts": {

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "app" name = "app"
version = "0.4.0" version = "0.4.1"
description = "A Tauri App" description = "A Tauri App"
authors = ["Thea Schöbl <dev@theaninova.de>"] authors = ["Thea Schöbl <dev@theaninova.de>"]
license = "AGPL-3" license = "AGPL-3"

View File

@@ -8,7 +8,7 @@
}, },
"package": { "package": {
"productName": "amacc1ng", "productName": "amacc1ng",
"version": "0.4.0" "version": "0.4.1"
}, },
"tauri": { "tauri": {
"allowlist": { "allowlist": {

View File

@@ -6,7 +6,7 @@ import {browser} from "$app/environment"
export const VENDOR_ID = 0x239a 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") await import("./tauri-serial")
} }