mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-12 09:58:03 +02:00
Fastfetch: improves config file generation message with tips
This commit is contained in:
+5
-1
@@ -790,7 +790,11 @@ static void writeConfigFile(FFdata* data)
|
||||
exit(1);
|
||||
}
|
||||
if (ffWriteFileData(filename->chars, len, str))
|
||||
printf("The generated config file has been written in `%s`\n", filename->chars);
|
||||
{
|
||||
printf("✓ Configuration file generated: `%s`\n"
|
||||
"* Tip: Use a JSON schema-aware editor for better editing experience\n"
|
||||
"* Documentation: https://github.com/fastfetch-cli/fastfetch/wiki/Configuration\n", filename->chars);
|
||||
}
|
||||
else
|
||||
{
|
||||
printf("Error: failed to write file in `%s`\n", filename->chars);
|
||||
|
||||
Reference in New Issue
Block a user