Release OpenScript 1.0.1

This commit is contained in:
2026-09-10 20:07:03 -07:00
parent f5738ba2b8
commit 6838e60d23
4 changed files with 6 additions and 6 deletions

View File

@@ -1,10 +1,10 @@
import { execSync } from 'child_process';
import { execFileSync } from 'child_process';
import fs from 'fs';
import AdmZip from 'adm-zip';
console.log('Building OpenScript extension...');
fs.rmSync('dist', { recursive: true, force: true });
execSync('npx vite build', { stdio: 'inherit' });
execFileSync(process.execPath, ['node_modules/vite/bin/vite.js', 'build'], { stdio: 'inherit' });
// Remove unneeded master images and screenshots from dist package
[