fix(app): the worker runs the Python sources shipped with this app, not a folder another install stored

The first-run setup writes voiceWorker.cwd; when it ran from another
install, an updated app kept starting that install's older sources (found
on the game PC: 0.1.1 ran without the screenView tool). Shipped sources
next to the executable now always win. Version 0.1.2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
javis-bot
2026-11-15 22:43:06 +09:00
parent a85ad3e00f
commit f991981776
6 changed files with 35 additions and 12 deletions

View File

@@ -762,9 +762,11 @@ both to a release with that tag. The repository's other releases (v1's `v1.x`) a
quits anyway. Quitting another way (the system shutting down) runs the same shutdown.
- `app/shell/package.sh <folder>` builds it on Linux (`x86_64-pc-windows-gnu`, mingw-w64) and lays
out `Jarvis/`: `jarvis.exe`, `WebView2Loader.dll`, `python-src/` (the `voice_worker` and
`jarvis` packages, no caches or specs) and `display-driver/` (the virtual monitor's driver). The worker's default sources are `python-src` next to the
executable when it is there, else the repository's `src/`; the install reads its requirement
files from the same place. The folder also runs as it is.
`jarvis` packages, no caches or specs) and `display-driver/` (the virtual monitor's driver). The worker's sources are `python-src` next to the
executable when it is there, also over a `voiceWorker.cwd` the settings keep (another install's
first-run setup may have written its own folder there, and an update must never run those older
sources); without shipped sources `voiceWorker.cwd`, else the repository's `src/`. The install
reads its requirement files from the same place. The folder also runs as it is.
## Installer (`app/shell/installer.nsi`, `app/shell/installer.sh`)