mirror of
https://github.com/onyx-and-iris/nvda-voicemeeter.git
synced 2026-03-12 05:49:15 +00:00
fix dynamic_builder
This commit is contained in:
parent
39c14279b2
commit
c3247fa5bf
@ -212,20 +212,11 @@ class DynamicBuilder:
|
|||||||
try:
|
try:
|
||||||
result = subprocess.run(cmd, cwd=self.base_dir, capture_output=True, text=True)
|
result = subprocess.run(cmd, cwd=self.base_dir, capture_output=True, text=True)
|
||||||
if result.returncode == 0:
|
if result.returncode == 0:
|
||||||
# Verify the executable was created
|
print(f'[OK] Built {kind}')
|
||||||
exe_path = dist_path / f'{kind}.exe'
|
return True
|
||||||
if exe_path.exists():
|
|
||||||
print(f'[OK] Built {kind} -> {exe_path}')
|
|
||||||
return True
|
|
||||||
else:
|
|
||||||
print(f'[FAIL] {kind} executable not found at {exe_path}')
|
|
||||||
return False
|
|
||||||
else:
|
else:
|
||||||
print(f'[FAIL] Failed to build {kind}')
|
print(f'[FAIL] Failed to build {kind}')
|
||||||
if result.stderr:
|
print(f'Error: {result.stderr}')
|
||||||
print(f'Error: {result.stderr}')
|
|
||||||
if result.stdout:
|
|
||||||
print(f'Output: {result.stdout}')
|
|
||||||
return False
|
return False
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(f'[ERROR] Exception building {kind}: {e}')
|
print(f'[ERROR] Exception building {kind}: {e}')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user