Something went wrong. Try again.
Monorepo for Aesthetic.Computer aesthetic.computer
Something went wrong. Try again.
1.0 kB · 44 lines
JavaScript
1234567891011121314151617181920212223242526272829303132333435363738394041424344#!/usr/bin/env node
// Burn the elcid-flyer at high resolution with MP4 export using Dashboard UI// Usage: node burn-flyer.mjs
import { spawn } from 'child_process';
console.log('🔥 Burning elcid-flyer with Dashboard UI at 2048x2048 resolution...');
const args = [ 'dashboard-main.mjs', 'elcid-flyer.mjs', '--mp4', '--resolution', '2048', '--frames', '24'];
const child = spawn('node', args, { stdio: ['inherit', 'pipe', 'pipe'], // Capture stdout and stderr to see summary cwd: process.cwd()});
// Forward output to see the dashboard and summarychild.stdout.on('data', (data) => { process.stdout.write(data);});
child.stderr.on('data', (data) => { process.stderr.write(data);});
child.on('close', (code) => { if (code === 0) { console.log('✅ Flyer burn complete!'); } else { console.log(`❌ Process exited with code ${code}`); } process.exit(code);});
child.on('error', (err) => { console.error('❌ Error running burn-flyer:', err); process.exit(1);});