3 Commits

Author SHA1 Message Date
45682f0d1a 2.6.0 2025-10-22 17:22:34 +02:00
5f0bc45851 fix: issue with importing M4G backups 2025-10-22 16:59:41 +02:00
c6f1f3f6fc feat: add t4g vid 2025-10-22 16:58:04 +02:00
5 changed files with 5 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
{ {
"name": "charachorder-device-manager", "name": "charachorder-device-manager",
"version": "2.5.0", "version": "2.6.0",
"license": "AGPL-3.0-or-later", "license": "AGPL-3.0-or-later",
"private": true, "private": true,
"engines": { "engines": {

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "app" name = "app"
version = "2.5.0" version = "2.6.0"
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

@@ -6,7 +6,7 @@
"devPath": "http://localhost:5173", "devPath": "http://localhost:5173",
"distDir": "../build" "distDir": "../build"
}, },
"package": { "productName": "amacc1ng", "version": "2.5.0" }, "package": { "productName": "amacc1ng", "version": "2.6.0" },
"tauri": { "tauri": {
"allowlist": { "all": false }, "allowlist": { "all": false },
"bundle": { "bundle": {

View File

@@ -98,7 +98,7 @@ export function restoreFromFile(
if (backupDevice === "TWO" || backupDevice === "M4G") if (backupDevice === "TWO" || backupDevice === "M4G")
backupDevice = "ONE"; backupDevice = "ONE";
let currentDevice = get(serialPort)?.device; let currentDevice = get(serialPort)?.device;
if (currentDevice === "TWO" || backupDevice === "M4G") if (currentDevice === "TWO" || currentDevice === "M4G")
currentDevice = "ONE"; currentDevice = "ONE";
if (backupDevice !== currentDevice) { if (backupDevice !== currentDevice) {

View File

@@ -20,6 +20,7 @@ const PORT_FILTERS: Map<string, SerialPortFilter> = new Map([
["X", { usbProductId: 0x818b, usbVendorId: 0x303a }], ["X", { usbProductId: 0x818b, usbVendorId: 0x303a }],
["M4G S3 (pre-production)", { usbProductId: 0x1001, usbVendorId: 0x303a }], ["M4G S3 (pre-production)", { usbProductId: 0x1001, usbVendorId: 0x303a }],
["M4G S3", { usbProductId: 0x829a, usbVendorId: 0x303a }], ["M4G S3", { usbProductId: 0x829a, usbVendorId: 0x303a }],
["T4G S2", { usbProductId: 0x82f2, usbVendorId: 0x303a }],
]); ]);
const KEY_COUNTS = { const KEY_COUNTS = {