mirror of
https://github.com/TangentFoxy/love-release.git
synced 2025-07-28 11:02:20 +00:00
Stop if there is no main.lua file
This commit is contained in:
@@ -416,6 +416,11 @@ if [[ $INSTALLED == false && $EMBEDDED == false ]]; then
|
|||||||
exit_module "undef" "love-release has not been installed, and is not embedded into one script."
|
exit_module "undef" "love-release has not been installed, and is not embedded into one script."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ ! -f "main.lua" ]]; then
|
||||||
|
>&2 echo "No main.lua file was found."
|
||||||
|
exit_module 1
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ $EMBEDDED == true ]]; then
|
if [[ $EMBEDDED == true ]]; then
|
||||||
: # include_scripts_here
|
: # include_scripts_here
|
||||||
elif [[ $INSTALLED == true ]]; then
|
elif [[ $INSTALLED == true ]]; then
|
||||||
|
Reference in New Issue
Block a user