From b6bdfc809543026f9861b7a4e1520e51e3ef7dfc Mon Sep 17 00:00:00 2001 From: Craig Everett Date: Tue, 4 Mar 2025 19:45:47 +0900 Subject: [PATCH] Fixed in zx, removed from here --- src/gajudesk.erl | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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.