Signal an error if godot executable can't be found

This commit is contained in:
Josef Vlach
2020-05-28 21:52:49 +01:00
parent 36c92dff15
commit f94b8d209c

View File

@@ -50,6 +50,9 @@
CMD is the command to be invoked by the shell. If SHOW, the
output of the process will be provided in a buffer named
`*godot*'."
(when (not (executable-find gdscript-godot-executable))
(error "Error: Could not find %s on PATH. Please customize the gdscript-godot-executable variable." gdscript-godot-executable))
(start-process-shell-command "Godot Process" (if show
"*godot*" nil) cmd))