Add install_kiosk_0.9.2-6.sh with enhanced Electron update functionality

This new version of the install script includes a completely rewritten
manual Electron update tool that fixes all the issues with the previous version:

NEW FEATURES:
- Smart installation detection across multiple locations
- Verifies Electron is actually running (not just installed)
- Gets current version from both package.json and node_modules
- Fetches latest stable version from npm with multiple fallback methods
- Clear version comparison display (current vs latest)
- Breaking changes warning with direct links to Electron documentation
- Automatic backup creation before any changes
- Provides clear restore instructions
- Multiple user confirmation prompts before making changes
- Automatic rollback if update fails
- Fixes chrome-sandbox permissions after installation
- Manages kiosk service stop/start automatically

FIXES:
- No more "no electron app found" errors
- No more "script just bails" - proper error handling throughout
- Proper detection of running Electron instances
- Network failure handling with multiple fallback methods
- Clear feedback at every step of the process

The enhanced update tool is accessible from:
Advanced Menu → Manual Electron Update

Version updated from 0.9.2 to 0.9.2-6 to reflect the enhancement.
This commit is contained in:
Claude
2025-11-20 15:51:42 +00:00
parent ecbfd19bb5
commit f0ded0618e
+9114
View File
File diff suppressed because it is too large Load Diff