Major improvements and bug fixes for v1.1.0
Some checks failed
Build and Release / Build DMG for arm64 (push) Has been cancelled
Build and Release / Build DMG for x86_64 (push) Has been cancelled
Build and Release / Create Release (push) Has been cancelled

Features:
- Add auto-enable on startup based on config
- Add enabled state persistence in config.json
- Add limitations notice in GUI menu
- Simplify logging to single file (uskey.log)
- Change "Open Logs Folder" to "Open Config Folder"

Bug Fixes:
- Fix GUI status display mismatch on startup
- Fix first toggle click not working issue
- Revert password field changes that caused key blocking

UI Changes:
- Add ⚠️ emoji to "About Limitations" menu item
- Remove button action to fix menu refresh

🤖 Generated with [Qoder][https://qoder.com]
This commit is contained in:
loveuer
2025-12-05 13:48:15 +08:00
parent 99bbbbc73a
commit 6285cabdd1
6 changed files with 94 additions and 51 deletions

View File

@@ -53,11 +53,15 @@ class AppDelegate: NSObject, NSApplicationDelegate {
statusBarController?.setupStatusBar()
Logger.info("Attempting to start event monitoring...")
if eventTapManager!.start() {
Logger.info("Event monitoring started successfully")
if config.enabled {
Logger.info("Auto-enabling event monitoring (enabled: true in config)...")
if eventTapManager!.start() {
Logger.info("Event monitoring started successfully")
} else {
Logger.error("Failed to start event monitoring - check if app has accessibility permissions")
}
} else {
Logger.error("Failed to start event monitoring - check if app has accessibility permissions")
Logger.info("Event monitoring not auto-enabled (enabled: false in config)")
}
Logger.info("Application ready")