- Rust 57.7%
- Shell 26.4%
- JavaScript 15.9%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Started before the network is up (first login after power-on, slow links) the page loads without the vendor's scripts and styles and stays white for good. The shim now reports the first vendor script or stylesheet that fails to load; a watchdog then probes the vendor hosts and restarts the app as soon as they answer. Fallback: no race requested for 10 minutes. |
||
| dist | ||
| empaque | ||
| icons | ||
| src | ||
| .gitignore | ||
| build.rs | ||
| Cargo.lock | ||
| Cargo.toml | ||
| README.md | ||
| tauri.conf.json | ||
carrera
Race TV screen (dogs8 tripleta) on Tauri 2, Linux x86_64. The page and its logic load live from the game
vendor; this program supplies a local server on 127.0.0.1:3000 with the race videos and a frameless
fullscreen window.
Install
As the user that shows the screen, no sudo:
tar xzf carrera-<ver>-linux-x86_64.tar.gz
sh carrera/instalar.sh --datos DIR --autostart
--datos DIR copies the data folder (index.html + assets/, the race videos) once; it is not part of the
package or of the updates. Dependencies: webkit2gtk-4.1 gtk3 gst-plugins-base gst-plugins-good.
Settings
~/.config/com.nativosoft.carrera/screenConfig.json, read at start:
{"screen": 1, "music": true, "sound": true}
screen: monitor number, from 1.music:falsesilences the background music only.sound:falsesilences everything.
Updates
~/.local/opt/carrera/actual/actualizar.sh follows the releases of this repo (SHA256 checked). The launcher
runs it at every start and the app every 6 hours; the app restarts itself into a new version between two races.
Only one instance runs per user.
Build
cargo test && ./empaque/empacar.sh # target/empaque/carrera-<ver>-linux-x86_64.tar.gz + SHA256SUMS
./empaque/publicar.sh # release on Forgejo from that package