File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -126,6 +126,9 @@ nsis:
126126
127127# Linux Configuration
128128linux :
129+ extraResources :
130+ - from : resources/bin/linux-${arch}
131+ to : bin
129132 icon : resources/icons
130133 target :
131134 - target : AppImage
Original file line number Diff line number Diff line change 11import { app } from 'electron' ;
2- import { spawn } from 'child_process' ;
2+ import { execSync , spawn } from 'child_process' ;
33import { existsSync } from 'fs' ;
44import { join } from 'path' ;
55import { getUvMirrorEnv } from './uv-env' ;
@@ -50,7 +50,6 @@ function resolveUvBin(): { bin: string; source: 'bundled' | 'path' | 'bundled-fa
5050}
5151
5252function findUvInPathSync ( ) : boolean {
53- const { execSync } = require ( 'child_process' ) as typeof import ( 'child_process' ) ;
5453 try {
5554 const cmd = process . platform === 'win32' ? 'where.exe uv' : 'which uv' ;
5655 execSync ( cmd , { stdio : 'ignore' , timeout : 5000 } ) ;
You can’t perform that action at this time.
0 commit comments