561f7e0574c5077ea6089142bed6daa0dbcf0f9d
**Return-to-Home Popup Logic (CORRECTED):** - FIXED: Return-to-home inactivity prompt now appears ONLY on manual sites (duration=0) - Rotation sites (duration>0) skip return-to-home logic and use auto-rotation instead - Previous commit had this backwards - now corrected **Pause Button Auto-Hide:** - Pause button now auto-hides after 5 seconds of inactivity (like keyboard icon) - Each user interaction resets the 5-second timer - Debug logging shows when button auto-hides - Prevents button from staying on screen permanently **Manual Electron Update Detection:** - Added main.js file check to Method 1 (default kiosk user) - Added Method 6: Check /opt/kiosk-app and /usr/local/kiosk-app - Added Method 7: Query systemd kiosk.service for working directory - Improved parent directory detection with cleaner variable usage - Enhanced error message with numbered search locations and kiosk user home path - Better debug output to help diagnose installation issues **Display Schedule Logic (CRITICAL FIX):** - FIXED: Reversed display off/on time comparison logic - Overnight case (22:00 off, 06:00 on): Now correctly checks off_mins > on_mins - Same-day case (08:00 off, 17:00 on): Now correctly checks off_mins < on_mins - Display will now properly stay OFF during scheduled times - Fixes issue where "keep display on" watchdog was too aggressive All changes improve UX and fix critical scheduling bugs
Languages
Shell
94.1%
JavaScript
4.7%
HTML
0.9%
CSS
0.3%