Dont use SystemExit if kitty exe not found
This commit is contained in:
@@ -73,7 +73,7 @@ def kitty_exe() -> str:
|
||||
rpath = candidate
|
||||
break
|
||||
else:
|
||||
raise SystemExit('kitty binary not found')
|
||||
raise RuntimeError('kitty binary not found')
|
||||
return os.path.join(rpath, 'kitty')
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user