fix(app): installer removes only its own files and stops on failed steps

- installer.sh lists every packaged file for the uninstaller, and folders
  are removed only when empty, so a chosen folder keeps other files.
- A virtual monitor driver removal that fails stops the uninstall with
  everything kept (silent exit code 4); the elevated half exits 2 when
  there is no driver of ours to remove, which the uninstaller accepts.
- WebView2 is installed before any file is copied; when it is still
  missing the installer asks to retry, or silently stops with code 3
  without installing or starting anything.
- The installer holds Global\JarvisBotSetup while it runs; jarvis.exe
  started meanwhile shows a message and exits before any window.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
javis-bot
2026-11-14 11:26:28 +09:00
parent 5ce832f51a
commit 1ae2521d58
7 changed files with 192 additions and 33 deletions

View File

@@ -29,6 +29,7 @@ pub mod secrets;
pub mod services;
pub mod settings;
pub mod settings_edit;
pub mod setup_lock;
pub mod speakers;
pub mod strata;
pub mod system;