mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-04 14:46:03 +00:00
Nicer error message when slangc not found
This commit is contained in:
parent
0f3a2cc288
commit
d3ba5dea49
1 changed files with 2 additions and 0 deletions
|
|
@ -426,6 +426,8 @@ def compile_builtin_shaders(build_dir: str, dest_dir: str, parallel_run: Paralle
|
|||
|
||||
|
||||
def main() -> None:
|
||||
if not shutil.which(slangc[0]):
|
||||
raise SystemExit(f'The shader slang compiler ({slangc[0]}) not in PATH: {os.environ.get("PATH")}')
|
||||
setup = runpy.run_path('setup.py')
|
||||
Command = setup['Command']
|
||||
parallel_run = setup['parallel_run']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue