Skip to content

🎥 Make videos programmatically with React

cross compile

Jonny Burger4d8177bcae68
diff --git a/packages/renderer/build.mjs b/packages/renderer/build.mjs
index 00b49061a1..6a6c187c04 100644
--- a/packages/renderer/build.mjs
+++ b/packages/renderer/build.mjs
@@ -18,6 +18,11 @@ import {toolchains} from './toolchains.mjs';
const isWin = os.platform() === 'win32';
const where = isWin ? 'where' : 'which';
+if (os.platform() === 'win32') {
+ console.log('Windows CI is broken - needs to be cross-compiled');
+ process.exit(0);
+}
+
function isMusl() {
const {glibcVersionRuntime} = process.report.getReport().header;
return !glibcVersionRuntime;