Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski
2026-03-24 15:12:05 +00:00
parent 6d21687ca9
commit 8305c52251
5 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ import childProcess, { type SpawnOptions } from "node:child_process";
import { type Arch, type Target, TARGETS, getHost, isHostId, type TargetId } from "./target.js";
async function getRuntimeVersion(projectRoot: string): Promise<string> {
const electronVersion = await getElectronVersionFromInstalled(projectRoot);
const electronVersion = await getElectronVersionFromInstalled(path.join(projectRoot, "..", ".."));
if (!electronVersion) {
throw new Error("Can't determine Electron version");
}