From 4dc25424ab8d3a3f466881a4405414c440b771eb Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Wed, 22 May 2024 10:31:06 +0200 Subject: master: Fix AppMain.cxx: replace CoreGraphics, with WindowServer. Signed-off-by: Amlal El Mahrouss --- Kernel/Sources/AppMain.cxx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'Kernel/Sources') diff --git a/Kernel/Sources/AppMain.cxx b/Kernel/Sources/AppMain.cxx index e9da459b..9ca224c3 100644 --- a/Kernel/Sources/AppMain.cxx +++ b/Kernel/Sources/AppMain.cxx @@ -184,7 +184,7 @@ namespace NewOS::Detail /// @return void no return value. STATIC NewOS::Void AppSystemLoader(NewOS::Void) { - NewOS::PEFLoader coreGraphicsShLib("/System/CoreGraphics"); + NewOS::PEFLoader coreGraphicsShLib("/System/WindowServer"); if (!coreGraphicsShLib.IsLoaded()) { @@ -221,8 +221,5 @@ EXTERN_C NewOS::Void AppMain(NewOS::Void) auto cLoaderName = "SystemLoader"; NewOS::execute_from_image(NewOS::Detail::AppSystemLoader, cLoaderName); - while (NewOS::ProcessScheduler::Shared().Leak().Run() > 0) - { - NewOS::kcout << "New OS: Shuting down...\r"; - } + while (NewOS::ProcessScheduler::Shared().Leak().Run() > 0) {} } -- cgit v1.2.3