fix: make Termux location check optional
Location services check now optional since scanner coordinates are configured in config.yaml. Allows rf-mapper to start on Termux even when GPS is unavailable (indoors). Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -147,7 +147,7 @@ def check_termux_prerequisites(verbose: bool = True) -> bool:
|
|||||||
all_ok = True
|
all_ok = True
|
||||||
checks = [
|
checks = [
|
||||||
("Termux:API package", check_termux_api_installed, True), # Required
|
("Termux:API package", check_termux_api_installed, True), # Required
|
||||||
("Location services", check_location_enabled, True), # Required
|
("Location services", check_location_enabled, False), # Optional (uses config.yaml coords)
|
||||||
("Wake lock", check_wake_lock, True), # Required
|
("Wake lock", check_wake_lock, True), # Required
|
||||||
("Termux:Boot", check_termux_boot, False), # Optional
|
("Termux:Boot", check_termux_boot, False), # Optional
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user