Skip to content

Commit faca8b8

Browse files
authored
GPS improvements, etc. (#85)
* Improve GPS signal fix detection. * Select Location tab after clicking "Get GPS Location" to make acquisition of GPS coordinates more obvious. * Fix installation `--launch` option.
1 parent 534a99a commit faca8b8

19 files changed

Lines changed: 625 additions & 5946 deletions

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
## 3.3.2
2+
3+
* Improve GPS signal fix detection.
4+
* Select Location tab after clicking "Get GPS Location" to make acquisition of GPS coordinates more obvious.
5+
* Fix installation `--launch` option.
6+
7+
## 3.3.1-wo.1
8+
9+
* Web-only update to emphasize that real indoor/outdoor temperature and humidity sensor data is available only via the Raspberry Pi project, and not available on the demo website.
10+
111
## 3.3.1
212

313
* Slightly improved rendering of moon in sky map, with lunar eclipse darkening.

build.js

Lines changed: 23 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1243,9 +1243,10 @@ async function doServiceDeployment(): Promise<void> {
12431243
await monitorProcess(spawn('pkill', uid, ['-o', chromium]), spin, ErrorMode.NO_ERRORS);
12441244
await monitorProcess(spawn('pkill', uid, ['-o', chromium.substr(0, 15)]), spin, ErrorMode.NO_ERRORS);
12451245
await sleep(500, spin);
1246-
const display = process.env.DISPLAY;
1247-
exec(`DISPLAY=${display} ${launchChromium} --user-data-dir='${userHome}'`, { uid });
1248-
await sleep(1000);
1246+
const args = launchChromium.split(/\s/).slice(1);
1247+
args.splice(args.length - 1, 0, `--user-data-dir='${userHome}'`);
1248+
setTimeout(() => process.exit(0), 5000);
1249+
await monitorProcess(spawn(chromium, uid, args, { detached: true }));
12491250
}
12501251

12511252
if (doReboot) {

0 commit comments

Comments
 (0)