diff --git a/priv/templates/simpleapp.app b/priv/templates/simpleapp.app index 7638f51..ec30ffe 100644 --- a/priv/templates/simpleapp.app +++ b/priv/templates/simpleapp.app @@ -11,5 +11,6 @@ kernel, stdlib ]}, + {mod, { {{appid}}_app, []}}, {env, []} ]}. diff --git a/priv/templates/simpleapp_sup.erl b/priv/templates/simpleapp_sup.erl index 1dc178d..931db75 100644 --- a/priv/templates/simpleapp_sup.erl +++ b/priv/templates/simpleapp_sup.erl @@ -24,5 +24,5 @@ start_link() -> %% =================================================================== init([]) -> - {ok, {one_for_one, 5, 10}, []}. + {ok, { {one_for_one, 5, 10}, []} }.