ruimte 0.28.0 → 0.29.0-beta.11

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 CHANGED
@@ -15,7 +15,7 @@ npx ruimte closed-lid remove
15
15
  npx ruimte --version
16
16
  ```
17
17
 
18
- `bunx ruimte` works too. Node is enough. It runs on Apple silicon Macs and on Linux (x64 and arm64), not on Windows yet.
18
+ `bunx ruimte` works too. Node is enough. It runs on Apple silicon Macs, on Linux (x64 and arm64) and on Windows (x64).
19
19
 
20
20
  ## Reaching it
21
21
 
package/bin/ruimte.js CHANGED
@@ -29,13 +29,9 @@ function binaryNameOf(os) {
29
29
  // packages/npm/src/launcher.ts
30
30
  class LauncherError extends Error {
31
31
  }
32
- var WINDOWS_REFUSAL = "Ruimte does not run on Windows yet. It runs on Macs with Apple silicon and on Linux, on arm64 and x64.";
33
32
  var INTEL_NODE_REFUSAL = "This Node is built for Intel Macs, and Ruimte runs on Macs with Apple silicon only. On a Mac with Apple silicon this Node runs under Rosetta: install the arm64 build of Node and run Ruimte with that.";
34
33
  var MUSL_REFUSAL = "Ruimte runs on Linux with glibc, and this system uses musl (as Alpine does), so npm left its binary out. Run it on a distribution with glibc, such as Debian or Ubuntu, or in a container of one.";
35
34
  function platformPackageOf(host) {
36
- if (host.platform === "win32") {
37
- throw new LauncherError(WINDOWS_REFUSAL);
38
- }
39
35
  if (host.platform === "darwin" && host.arch === "x64") {
40
36
  throw new LauncherError(INTEL_NODE_REFUSAL);
41
37
  }
@@ -90,7 +86,7 @@ try {
90
86
  }
91
87
  var args = process.argv.slice(2);
92
88
  var execve = process.execve;
93
- if (typeof execve === "function") {
89
+ if (typeof execve === "function" && process.platform !== "win32") {
94
90
  try {
95
91
  execve(binary, [binary, ...args], process.env);
96
92
  } catch {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ruimte",
3
- "version": "0.28.0",
3
+ "version": "0.29.0-beta.11",
4
4
  "description": "Ruimte for a machine without the app: the machine that terminals, agents and browsers run on, reachable from the Ruimte app and station.ruimte.app.",
5
5
  "license": "FSL-1.1-MIT",
6
6
  "author": "Bas Milius",
@@ -21,8 +21,9 @@
21
21
  "node": ">=18"
22
22
  },
23
23
  "optionalDependencies": {
24
- "@ruimte/darwin-arm64": "0.28.0",
25
- "@ruimte/linux-x64": "0.28.0",
26
- "@ruimte/linux-arm64": "0.28.0"
24
+ "@ruimte/darwin-arm64": "0.29.0-beta.11",
25
+ "@ruimte/linux-x64": "0.29.0-beta.11",
26
+ "@ruimte/linux-arm64": "0.29.0-beta.11",
27
+ "@ruimte/win32-x64": "0.29.0-beta.11"
27
28
  }
28
29
  }