yum/FastTextPager
Compressed text paging over OSC.
git clone https://git.yummers.dev/yum/FastTextPager
e1730a6
master
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 )) { 13fs . mkdirSync ( dllPath , { recursive :true }); 14console . log ( 'Created empty dll directory' ); 15} 16 17try { 18console . log ( 'Creating new venv...' ); 19execSync ( `python -m venv " ${ venvPath } "` , { stdio :'inherit' }); 20console . log ( 'Empty venv created successfully!' ); 21} catch ( error ) { 22console . error ( 'Failed to create venv:' , error ); 23process . exit ( 1 ); 24} 25