This is a streamlined Tauri app using Vite and SolidJS.
A firmware flashing tool for the Open Source EyeTrackVR hardware project.
This repo includes:
Warning
This project uses pnpm by default, and utilizes pnpm workspaces. If you do not have pnpm installed, you can install it with npm install -g pnpm.
You can use yarn or npm, however, you will need to modify the project to remove the pnpm specific commands and workspace.
pnpm run setupTo actually compile the project, you'll also need a binary of the ETVR backend from here.
Clone the project, follow its readme to set it up and build the binary.
Once done, copy the result into backend_bin and rename it to ETVR-<target-triple>
The target triple can be obtained by running
rustc -VvThe info you're looking for will be stored under host:, for example host: x86_64-pc-windows-msvc
So the copied binary should be named like ETVR-x86_64-pc-windows-msvc
Run the project
pnpm tauri devSee the package.json for all available scripts.
Runs the app in the development mode.
An app should launch on your desktop.
The page will reload if you make edits.
Uses JSDoc to build a documentation website based on the projects documentation.
Runs eslint on all of the included files.
Uses Prettier and the above pnpm lint command to lint and then format all included file types.
This project follows the architecture Tauri laid down - Tauri Plugins and commands, to communicate with the hardware.
These plugins are located in the src-tauri/src/lib folder.
To build the app, run the following:
pnpm tauri buildBuilds the app for production to the src-tauri/target folder.
This will correctly bundle Solid in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Install UV:
Then, in the project root run:
uv syncFirst, make sure your changes are merged into the beta branch and that you're currently checked out on it.
Once done, run:
uv run bumpver update --tag-num --tag beta --dryCheck if your changes look good, and if so:
uv run bumpver update --tag-num --tag betaThis will push the new bump commit with a special tag that will trigger a fresh beta build
Follow the same steps as for Beta version but instead of tag beta use one of the following
--patch- for patch updates--minor- for minor changes--major- for breaking changes
Unfortunately, since bumpver doesn't support setting v in git tags, we have to do one more step
git tag v<new_tag> <bumpver_tag>for example
git tag v1.7.1-beta.2 1.7.1-beta.2Once done:
git push --follow-tags