permanent-underclass 0.1.0-beta.6 → 0.1.0-beta.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/bin/permanent-underclass.cjs +7 -1
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -8,5 +8,8 @@ npx --yes permanent-underclass
|
|
|
8
8
|
|
|
9
9
|
Current beta support:
|
|
10
10
|
- macOS arm64 (`permanent-underclass-darwin-arm64`)
|
|
11
|
+
- macOS x64 (`permanent-underclass-darwin-x64`)
|
|
12
|
+
- Linux x64 (`permanent-underclass-linux-x64`)
|
|
13
|
+
- Linux arm64 (`permanent-underclass-linux-arm64`)
|
|
11
14
|
|
|
12
15
|
If your platform is not supported yet, the launcher prints an explicit message.
|
|
@@ -5,7 +5,10 @@ const path = require("node:path");
|
|
|
5
5
|
const { spawnSync } = require("node:child_process");
|
|
6
6
|
|
|
7
7
|
const PLATFORM_MAP = {
|
|
8
|
-
"darwin-arm64": "permanent-underclass-darwin-arm64"
|
|
8
|
+
"darwin-arm64": "permanent-underclass-darwin-arm64",
|
|
9
|
+
"darwin-x64": "permanent-underclass-darwin-x64",
|
|
10
|
+
"linux-x64": "permanent-underclass-linux-x64",
|
|
11
|
+
"linux-arm64": "permanent-underclass-linux-arm64"
|
|
9
12
|
};
|
|
10
13
|
|
|
11
14
|
const key = `${process.platform}-${process.arch}`;
|
|
@@ -18,6 +21,9 @@ if (!platformPkg) {
|
|
|
18
21
|
`Detected: ${key}`,
|
|
19
22
|
"Supported:",
|
|
20
23
|
" - darwin-arm64",
|
|
24
|
+
" - darwin-x64",
|
|
25
|
+
" - linux-x64",
|
|
26
|
+
" - linux-arm64",
|
|
21
27
|
"Try again later when more platform packages are published."
|
|
22
28
|
].join("\n")
|
|
23
29
|
);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "permanent-underclass",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
4
|
-
"description": "Terminal game
|
|
3
|
+
"version": "0.1.0-beta.8",
|
|
4
|
+
"description": "Terminal game about surviving the AI transition.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"bin": {
|
|
7
7
|
"permanent-underclass": "bin/permanent-underclass.cjs"
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"README.md"
|
|
12
12
|
],
|
|
13
13
|
"optionalDependencies": {
|
|
14
|
-
"permanent-underclass-darwin-arm64": "0.1.0-beta.
|
|
14
|
+
"permanent-underclass-darwin-arm64": "0.1.0-beta.8",
|
|
15
|
+
"permanent-underclass-darwin-x64": "0.1.0-beta.8"
|
|
15
16
|
},
|
|
16
17
|
"engines": {
|
|
17
18
|
"node": ">=18"
|