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 <slendi@socopon.com>
This commit is contained in:
parent
c93f7a254d
commit
f6e8b0f73c
12
main.c
12
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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user