Fix/windows builds (#764)

* Fix windows path issues

* Few script changes to support windows

* Update build scripts

* remove duplicate call

* changelog

* Fix for telnet test runner
This commit is contained in:
Brahim Hadriche authored and GitHub committed 2025-10-22 09:38:38 -04:00
1 parent 388cad36be
commit 112bad5d42
15 files changed
+130 -88

No files matched your search

+2 -1
View File
@@ -4,6 +4,7 @@
const fs = require('fs');
const shell = require('shelljs');
const path = require('path');
if (!shell.which('git')) {
shell.echo('Sorry, this script requires git');
@@ -18,7 +19,7 @@ if (gitStatus.stdout !== '') {
const gitCommitHash = shell.exec('git rev-parse --short HEAD').stdout.trim();
["playlet-app/src/manifest", "playlet-lib/src/manifest"].forEach(function (manifestPath) {
[path.join("playlet-app", "src", "manifest"), path.join("playlet-lib", "src", "manifest")].forEach(function (manifestPath) {
let appManifestContent = fs.readFileSync(manifestPath, { encoding: 'utf8', flag: 'r' });
const gitHashPattern = /git_commit_sha=(\w+)/;