M1 Mac compat (for real this time)

This commit is contained in:
garronej
2022-04-09 20:17:20 +02:00
parent 85b54ac011
commit 357bc8d19d
13 changed files with 59 additions and 2125 deletions

View File

@ -1,5 +0,0 @@
import * as os from "os";
export function getIsM1() {
return os.cpus()[0].model.includes("Apple M1");
}