From 36e36fae364dec02999f58edbe997780d901b674 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sun, 16 Aug 2020 15:35:43 +0200 Subject: Added WM and exec parameters --- apps/init.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'apps/init.c') diff --git a/apps/init.c b/apps/init.c index 89d446b..de87798 100644 --- a/apps/init.c +++ b/apps/init.c @@ -11,14 +11,8 @@ void main(struct vbe *vbe) { print("Init loaded.\n"); - printf("VBE: %dx%d\n", vbe->width, vbe->height); + int a = exec("/wm", vbe); - const u32 color[3] = { 0, 0, 0 }; - vesa_fill(vbe, color); - gui_init("/font/spleen-16x32.psfu"); - gui_term_write(vbe, "hallo"); - - /* exec("/a"); */ - /* exec("/b"); */ - exit(); + if (a) + exit(); } -- cgit v1.2.3