Fix Windows smoke path resolution

This commit is contained in:
Mohamed Boudra
2026-03-10 18:01:39 +07:00
parent 9604b8d57b
commit 438a9f6d48
2 changed files with 6 additions and 1 deletions
+4
View File
@@ -1,5 +1,9 @@
# Changelog
## 0.1.23 - 2026-03-10
### Fixed
- Fixed the Windows desktop managed-daemon smoke test to resolve repo paths correctly on GitHub Actions runners.
## 0.1.22 - 2026-03-10
### Fixed
- Fixed the Windows desktop release runtime builder to package managed-runtime workspaces without relying on a fragile `npm pack` shell invocation in GitHub Actions.
@@ -5,12 +5,13 @@ import fs from "node:fs/promises";
import net from "node:net";
import os from "node:os";
import path from "node:path";
import { fileURLToPath } from "node:url";
import { promisify } from "node:util";
import WebSocket from "ws";
import { createClientChannel } from "@getpaseo/relay/e2ee";
const execFileAsync = promisify(execFile);
const repoRoot = path.resolve(new URL("../../..", import.meta.url).pathname);
const repoRoot = fileURLToPath(new URL("../../..", import.meta.url));
const desktopRoot = path.join(repoRoot, "packages", "desktop");
const relayRoot = path.join(repoRoot, "packages", "relay");
const desktopPackageJson = JSON.parse(