diff --git a/src/gajudesk.erl b/src/gajudesk.erl index 8733898..6c11024 100644 --- a/src/gajudesk.erl +++ b/src/gajudesk.erl @@ -47,7 +47,7 @@ ts() -> %% See: http://erlang.org/doc/apps/kernel/application.html start(normal, _Args) -> - {ok, CWD} = file:get_cwd(), + erlang:show(CWD), ok = case net_kernel:stop() of ok -> @@ -61,9 +61,7 @@ start(normal, _Args) -> ok = application:ensure_started(hakuzaru), ok = application:ensure_started(zxwidgets), ok = application:ensure_started(sophia), - Result = gd_sup:start_link(), - ok = file:set_cwd(CWD), - Result. + gd_sup:start_link(). -spec stop(term()) -> ok.