04/24 Fixed keyring issues

This commit is contained in:
2026-04-24 17:33:20 -04:00
parent 5d6ca5a039
commit 71a53232a8
4 changed files with 56 additions and 156 deletions
+9 -6
View File
@@ -27,16 +27,16 @@ Output
After Building
--------------
1. Copy config.ini into the dist/WebsiteChecker/ folder before
distributing to users, OR let users complete the first-run
database setup dialog on first launch.
1. No config.ini required. DB credentials are stored in the OS keychain
(Windows Credential Manager on Windows, Keychain on macOS).
On first launch the Database Setup dialog will appear automatically.
2. app.log will be written to the same folder as the .exe at runtime.
3. The bundled app requires network access to the MySQL server
on the configured port (default 3306).
Prerequisites
-------------
pip install pyinstaller
pip install pyinstaller keyring
pip install -r requirements.txt
"""
@@ -102,6 +102,7 @@ def check_environment():
"bcrypt": "bcrypt",
"openpyxl": "openpyxl",
"cryptography": "cryptography",
"keyring": "keyring",
"matplotlib": "matplotlib",
"plyer": "plyer",
"reportlab": "reportlab",
@@ -255,8 +256,10 @@ def report(args, returncode):
print()
print(" Post-build checklist:")
print(" [ ] Copy config.ini into the output folder (or let users")
print(" complete the first-run setup dialog on launch)")
print(" [ ] NO config.ini required — DB credentials are stored in the")
print(" OS keychain (Windows Credential Manager / macOS Keychain).")
print(" On first launch the Database Setup dialog will appear.")
print(" [ ] Ensure keyring is installed: pip install keyring")
print(" [ ] Test the .exe on a clean machine without Python installed")
print(" [ ] Verify the MySQL connection works from the target machine")
print(" [ ] Confirm app.log is written next to the .exe at runtime")