mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-20 17:03:42 +00:00
fix: can't change profiles B/C
fix: only add profiles starting beta.4
This commit is contained in:
@@ -140,8 +140,7 @@ export class CharaDevice {
|
||||
this.version = await this.send(1, ["VERSION"]).then(
|
||||
([version]) => version,
|
||||
);
|
||||
// TODO: beta.3
|
||||
if (semverGte(this.version, "2.2.0-beta.3")) {
|
||||
if (semverGte(this.version, "2.2.0-beta.4")) {
|
||||
this.profileCount = 3;
|
||||
}
|
||||
const [company, device, chipset] = await this.send(3, ["ID"]);
|
||||
|
||||
Reference in New Issue
Block a user