Peach: Local-first video metadata scraper and media manager.
test(desktop): 诊断报告夹具使用中性路径与文档地址
longmeidao8cc59bb6aa27
diff --git a/README.en.md b/README.en.mdindex 2598dc528..65d312d7d 100644--- a/README.en.md+++ b/README.en.md@@ -100,7 +100,7 @@ The original screenshots are lossless 3840×2160 PNGs; click to view them. You c### Windows1. Download one of the two packages from [Releases](https://github.com/peach-mitao/peach/releases):- - Installer `Peach-<version>-windows-x64-setup.exe`: double-click to install. No administrator rights needed; Peach appears in the Start menu and can be uninstalled from Windows Settings.+ - Installer `Peach-<version>-windows-x64-setup.exe`: double-click to install and choose an installation folder. No administrator rights needed; Peach appears in the Start menu and can be uninstalled from Windows Settings.- Portable `Peach-<version>-windows-x64.zip`: right-click it, choose "Extract All", then double-click `Peach.exe` inside.2. Your browser opens the first-run setup page.3. Pick your media folders and who may access Peach, then start the scan.diff --git a/tests/test_error_reporting.py b/tests/test_error_reporting.pyindex 8b0971b8e..0a3c6e4e8 100644--- a/tests/test_error_reporting.py+++ b/tests/test_error_reporting.py@@ -86,7 +86,7 @@ class ErrorReportingTests(unittest.TestCase):'password=private-password\n''https://private.example/download?key=private-key\n''C:\\Users\\private-user\\private.mp4\n'- '/Users/private-user/movie.mp4\n192.168.1.20\n'+ '/example/private-user/movie.mp4\n203.0.113.20\n''[email protected]\n', encoding="utf-8")(self.logs / "unapproved.log").write_text("private-unapproved", encoding="utf-8")error_reporting.event("entry")@@ -97,7 +97,7 @@ class ErrorReportingTests(unittest.TestCase):self.assertTrue(all(name == "report.json" or name.startswith("logs/") for name in archive.namelist()))self.assertNotIn("unapproved.log", " ".join(archive.namelist()))for secret in ("private-session", "private-cookie", "private-auth", "private-password", "private-key",- "private.example", "private-user", "192.168.1.20", "private-database", "unclosed-private-config"):+ "private.example", "private-user", "203.0.113.20", "private-database", "unclosed-private-config"):self.assertNotIn(secret, contents)def test_report_tail_is_bounded_and_records_the_truncation(self):