mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2025-12-12 22:06:18 +00:00
Compare commits
3 Commits
v2.5.0
...
45682f0d1a
| Author | SHA1 | Date | |
|---|---|---|---|
|
45682f0d1a
|
|||
|
5f0bc45851
|
|||
|
c6f1f3f6fc
|
@@ -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": {
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
@@ -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": {
|
||||||
|
|||||||
@@ -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) {
|
||||||
|
|||||||
@@ -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 = {
|
||||||
|
|||||||
Reference in New Issue
Block a user