Desktop: launch Chrome --app with --disable-extensions (no stray extension windows)
Some checks are pending
dependency freshness / dependencies on newest stable (push) Waiting to run
file-length / file length <= 250 lines (push) Waiting to run
md-naming / markdown naming convention (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (mypy, mypy, ) (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (pylint, pylint, ) (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (rest, , mypy,pylint) (push) Waiting to run
Tests / test (push) Waiting to run
release-apk / release (APK) (push) Waiting to run
repo-contract / repo contract (push) Waiting to run

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Krzysztof Rudnicki 2026-11-01 13:04:10 +01:00
parent 66650ca3cc
commit 8957d51432
2 changed files with 6 additions and 1 deletions

View File

@ -163,6 +163,11 @@ Future<bool> _launchBrowser(String home, int port) async {
// a browser icon instead of diet_guard's.
'--class=diet_guard_app',
'--no-first-run',
// The distro wrapper appends ~/.config/chromium-flags.conf to every launch,
// which here carries `--load-extension` for Claude in Chrome. Logged out in
// this profile, it opened a claude.ai login tab in a second, normal browser
// window on every start. This flag also drops command-line extensions.
'--disable-extensions',
]);
final started = DateTime.now();

View File

@ -2,7 +2,7 @@ name: diet_guard_app
description: "Companion phone app for diet_guard: log meals on the go."
publish_to: 'none'
version: 1.0.121+1
version: 1.0.122+1
environment:
sdk: ^3.12.2