From d556ff7c37c069e3c03e84facf6de5ff2796eb14 Mon Sep 17 00:00:00 2001 From: idea4good Date: Mon, 19 Aug 2019 22:14:13 +0800 Subject: [PATCH] Update 1h-1cpp.sh --- 1h-1cpp.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/1h-1cpp.sh b/1h-1cpp.sh index a148b35..791fe84 100644 --- a/1h-1cpp.sh +++ b/1h-1cpp.sh @@ -31,17 +31,17 @@ do case $input in 1) echo "Choose 1" - cat *linux*.cpp > adapter_linux.cpp + cat *linux*.cpp > adapter.cpp break ;; 2) echo "Choose 2" - cat *win*.cpp > adapter_linux.cpp + cat *win*.cpp > adapter.cpp break ;; 3) echo "Choose 3" - cat *unknow*.cpp > adapter_linux.cpp + cat *unknow*.cpp > adapter.cpp break ;; *) @@ -51,15 +51,15 @@ do esac done -mv adapter_linux.cpp ../../ +mv adapter.cpp ../../ cd ../../widgets cat *.cpp > widgets.cpp mv widgets.cpp ../ cd .. -cat core.cpp adapter_linux.cpp widgets.cpp > GuiLiteRaw.cpp -rm core.cpp adapter_linux.cpp widgets.cpp +cat core.cpp adapter.cpp widgets.cpp > GuiLiteRaw.cpp +rm core.cpp adapter.cpp widgets.cpp # remove include core_include widgets_include from GuiLite.cpp sed '/^#include.*core_include\|widgets_include.*/d' GuiLiteRaw.cpp > GuiLiteNoInclude.cpp