yum/FastTextPager

Compressed text paging over OSC.

git clone https://git.yummers.dev/yum/FastTextPager

yumUpdate avg_logprob cutoff, fix sounds, fix electron builde1730a6

master
762 B25 linesraw
1const { execSync } = require('child_process');
2const path = require('path');
3const fs = require('fs');
4
5const projectRoot = path.join(__dirname, '..', '..');
6const venvPath = path.join(projectRoot, 'venv_clean');
7const dllPath = path.join(projectRoot, 'dll_empty');
8
9console.log('Creating empty virtual environment and dll directory...');
10
11// Create empty dll directory
12if (!fs.existsSync(dllPath)) {
13    fs.mkdirSync(dllPath, { recursive: true });
14    console.log('Created empty dll directory');
15}
16
17try {
18    console.log('Creating new venv...');
19    execSync(`python -m venv "${venvPath}"`, { stdio: 'inherit' });
20    console.log('Empty venv created successfully!');
21} catch (error) {
22    console.error('Failed to create venv:', error);
23    process.exit(1);
24}
25