From 28129c23fbbd60dcaa36c711d141bfbcb0d8b530 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20Kentt=C3=A4?= Date: Thu, 2 Apr 2026 08:56:09 +0300 Subject: [PATCH] Rename setup.log to setup-log.txt for easier use --- .github/ISSUE_TEMPLATE/bug_report.md | 2 +- README.md | 2 +- src/Setup.cs | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 8636654..3c3bf03 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -18,4 +18,4 @@ Explain exactly the steps you did: 4. ... **Log file** -Run the setup again and select menu option `L` (or add parameter `show-boot-log` on command line). Attach the `setup.log` to this report. +Run the setup again and select menu option `L` (or add parameter `show-boot-log` on command line). Attach the `setup-log.txt` to this report. diff --git a/README.md b/README.md index a523c67..3e27f08 100644 --- a/README.md +++ b/README.md @@ -141,7 +141,7 @@ If the default logo works, try again with your custom image. Make sure that the When you get your image working with the default configuration, you can do any other necessary changes to `config.txt`. If the default logo does not work, check the boot log again to see if there is some obvious error. -You may report an issue and attach the `setup.log` file. +You may report an issue and attach the `setup-log.txt` file. ### Impossible to boot at all diff --git a/src/Setup.cs b/src/Setup.cs index 9a4f170..d838ce3 100644 --- a/src/Setup.cs +++ b/src/Setup.cs @@ -142,7 +142,7 @@ public class Setup { var timestamp = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.fff"); var pid = System.Diagnostics.Process.GetCurrentProcess().Id; var prefix = $"{timestamp} | pid {pid} | "; - File.AppendAllText("setup.log", prefix + s.Replace("\n", "\n" + prefix) + "\n"); + File.AppendAllText("setup-log.txt", prefix + s.Replace("\n", "\n" + prefix) + "\n"); } /** @@ -1137,7 +1137,7 @@ public class Setup { WriteLine("This was a dry run, your system was not actually modified."); } if (!Batch) { - WriteLine("If you need to report a bug,\n - run this setup again with menu option L (show-boot-log)\n - then include the setup.log file with your report."); + WriteLine("If you need to report a bug,\n - run this setup again with menu option L (show-boot-log)\n - then include the setup-log.txt file with your report."); WriteLine("Press any key to quit."); Console.ReadKey(); }