From f6e8b0f73c2485d2c3766209fa487917e3e5254b Mon Sep 17 00:00:00 2001 From: xSlendiX Date: Sun, 18 Dec 2022 11:20:39 +0200 Subject: [PATCH] Fix src code generation. This patch remooves the new line before the string ends, it also makes the default code actually work (no longer tries to be Wordle). Signed-off-by: xSlendiX --- main.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/main.c b/main.c index 45f6bc7..f8ce688 100644 --- a/main.c +++ b/main.c @@ -715,12 +715,12 @@ Main;\n", fp); fp = fopen(text_format("%s/Install.HC", src_dir), "w+"); fputs("// TODO: Add support for multiple partitions, not just C:\n\ if (!FileFind(\"C:/Apps/Main\",,FUF_JUST_DIRS)) {\n\ - \"Installing...\n\";\n\ - DirMk(\"C:/Apps/Wordle\");\n\ -} else \"Updating...\n\";\n\ -CopyTree(\"T:/\", \"C:/Apps/Wordle\");\n\ -Del(\"C:/Apps/Wordle/RunCD.*\");\n\ -\"Done!\n\";\n", fp); + \"Installing...\\n\";\n\ + DirMk(\"C:/Apps/Main\");\n\ +} else \"Updating...\\n\";\n\ +CopyTree(\"T:/\", \"C:/Apps/Main\");\n\ +Del(\"C:/Apps/Main/RunCD.*\");\n\ +\"Done!\\n\";\n", fp); fclose(fp); }