From 758674d40be45e365f4148fb2a5ea6bd6f93bc74 Mon Sep 17 00:00:00 2001 From: Ladislav Michl Date: Thu, 12 Sep 2024 23:09:20 +0200 Subject: [PATCH] Main: simplify banner FreeCAD advertizes itself too noisy way which brings no usefull infomation. Unify banner for commandline and GUI application and drop unicode '(C)' character. --- src/Main/MainCmd.cpp | 13 ++----------- src/Main/MainGui.cpp | 12 ++---------- 2 files changed, 4 insertions(+), 21 deletions(-) diff --git a/src/Main/MainCmd.cpp b/src/Main/MainCmd.cpp index 0a5aeac0d473..ae23df7e205b 100644 --- a/src/Main/MainCmd.cpp +++ b/src/Main/MainCmd.cpp @@ -51,17 +51,8 @@ using App::Application; using Base::Console; const char sBanner[] = - "(c) Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2024\n" - "FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.\n" - "FreeCAD wouldn't be possible without FreeCAD community.\n" - " ##### #### ### #### \n" - " # # # # # # \n" - " # ## #### #### # # # # # \n" - " #### # # # # # # # ##### # # \n" - " # # #### #### # # # # # \n" - " # # # # # # # # # ## ## ##\n" - " # # #### #### ### # # #### ## ## ##\n\n"; - + "(C) 2001-2024 FreeCAD contributors\n" + "FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.\n\n"; int main(int argc, char** argv) { diff --git a/src/Main/MainGui.cpp b/src/Main/MainGui.cpp index 36087cffd688..62648e8b732e 100644 --- a/src/Main/MainGui.cpp +++ b/src/Main/MainGui.cpp @@ -61,16 +61,8 @@ void PrintInitHelp(); const char sBanner[] = - "\xc2\xa9 Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2024\n" - "FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.\n" - "FreeCAD wouldn't be possible without FreeCAD community.\n" - " ##### #### ### #### \n" - " # # # # # # \n" - " # ## #### #### # # # # # \n" - " #### # # # # # # # ##### # # \n" - " # # #### #### # # # # # \n" - " # # # # # # # # # ## ## ##\n" - " # # #### #### ### # # #### ## ## ##\n\n"; + "(C) 2001-2024 FreeCAD contributors\n" + "FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.\n\n"; #if defined(_MSC_VER) void InitMiniDumpWriter(const std::string&);