@phystack/screen-phyos 4.5.61-dev → 4.5.63-dev

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.
Files changed (2) hide show
  1. package/README.md +62 -1
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -1 +1,62 @@
1
- Physcreen
1
+ # physcreen-manager
2
+
3
+ PhyOS screen runtime for managing display instances. Compiled as a standalone Bun binary.
4
+
5
+ ## Installation
6
+
7
+ ### Via npm (recommended)
8
+
9
+ ```bash
10
+ npm install -g @phystack/screen-phyos
11
+ ```
12
+
13
+ npm automatically downloads the correct binary for your platform.
14
+
15
+ ### Direct binary download (no npm required)
16
+
17
+ ```bash
18
+ VERSION=4.5.62-dev # replace with desired version
19
+
20
+ # Linux ARM64
21
+ sudo curl -sL "https://registry.npmjs.org/@phystack/physcreen-manager-linux-arm64/-/physcreen-manager-linux-arm64-${VERSION}.tgz" | sudo tar xz --strip-components=2 -C /usr/bin package/bin/physcreen-manager
22
+
23
+ # Linux x86_64
24
+ sudo curl -sL "https://registry.npmjs.org/@phystack/physcreen-manager-linux-x64/-/physcreen-manager-linux-x64-${VERSION}.tgz" | sudo tar xz --strip-components=2 -C /usr/bin package/bin/physcreen-manager
25
+
26
+ # macOS Apple Silicon
27
+ curl -sL "https://registry.npmjs.org/@phystack/physcreen-manager-darwin-arm64/-/physcreen-manager-darwin-arm64-${VERSION}.tgz" | tar xz --strip-components=2 -C /usr/local/bin package/bin/physcreen-manager
28
+
29
+ # macOS Intel
30
+ curl -sL "https://registry.npmjs.org/@phystack/physcreen-manager-darwin-x64/-/physcreen-manager-darwin-x64-${VERSION}.tgz" | tar xz --strip-components=2 -C /usr/local/bin package/bin/physcreen-manager
31
+ ```
32
+
33
+ To check available versions:
34
+
35
+ ```bash
36
+ npm view @phystack/physcreen-manager-linux-arm64 versions --json
37
+ ```
38
+
39
+ ## Supported platforms
40
+
41
+ | Platform | Architecture | npm package |
42
+ |----------|-------------|-------------|
43
+ | Linux | ARM64 | `@phystack/physcreen-manager-linux-arm64` |
44
+ | Linux | x86_64 | `@phystack/physcreen-manager-linux-x64` |
45
+ | macOS | ARM64 | `@phystack/physcreen-manager-darwin-arm64` |
46
+ | macOS | x86_64 | `@phystack/physcreen-manager-darwin-x64` |
47
+
48
+ ## Building from source
49
+
50
+ ```bash
51
+ yarn build:binary # compile for current platform
52
+ ```
53
+
54
+ Or use the central build script for cross-compilation:
55
+
56
+ ```bash
57
+ # from repo root
58
+ yarn build:binaries # current platform
59
+ yarn build:binaries:cross # all platforms
60
+ ```
61
+
62
+ Output: `dist-binaries/<platform>/physcreen-manager`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phystack/screen-phyos",
3
- "version": "4.5.61-dev",
3
+ "version": "4.5.63-dev",
4
4
  "description": "PhyOS Screen",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
@@ -17,15 +17,15 @@
17
17
  ],
18
18
  "scripts": {
19
19
  "build": "tsc",
20
- "build:binary": "npx bun build --compile --minify ./src/index.ts --outfile physcreen-manager",
20
+ "build:binary": "VERSION=$(node -p \"require('./package.json').version\") && npx bun build --compile --minify --define \"__PKG_VERSION__=\\\"$VERSION\\\"\" ./src/index.ts --outfile physcreen-manager",
21
21
  "lint": "eslint --ext .js,.ts src",
22
22
  "lint-fix": "tsc --noEmit && eslint --ext .js,.ts src --fix && prettier --write ."
23
23
  },
24
24
  "optionalDependencies": {
25
- "@phystack/physcreen-manager-darwin-arm64": "4.5.61-dev",
26
- "@phystack/physcreen-manager-darwin-x64": "4.5.61-dev",
27
- "@phystack/physcreen-manager-linux-arm64": "4.5.61-dev",
28
- "@phystack/physcreen-manager-linux-x64": "4.5.61-dev"
25
+ "@phystack/physcreen-manager-darwin-arm64": "4.5.63-dev",
26
+ "@phystack/physcreen-manager-darwin-x64": "4.5.63-dev",
27
+ "@phystack/physcreen-manager-linux-arm64": "4.5.63-dev",
28
+ "@phystack/physcreen-manager-linux-x64": "4.5.63-dev"
29
29
  },
30
- "gitHead": "59bbc2788445d198a1f95eba3649daee129e1f8b"
30
+ "gitHead": "ad3302d7fcb12285ec7eaeb28a606b9c05b0e822"
31
31
  }