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:
|
||||
result = subprocess.run(cmd, cwd=self.base_dir, capture_output=True, text=True)
|
||||
if result.returncode == 0:
|
||||
# Verify the executable was created
|
||||
exe_path = dist_path / f'{kind}.exe'
|
||||
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
|
||||
print(f'[OK] Built {kind}')
|
||||
return True
|
||||
else:
|
||||
print(f'[FAIL] Failed to build {kind}')
|
||||
if result.stderr:
|
||||
print(f'Error: {result.stderr}')
|
||||
if result.stdout:
|
||||
print(f'Output: {result.stdout}')
|
||||
print(f'Error: {result.stderr}')
|
||||
return False
|
||||
except Exception as e:
|
||||
print(f'[ERROR] Exception building {kind}: {e}')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user