- For Linux install
libudev-devfor usb serial port enumeration.
sudo apt-get install libudev-dev- For Linux to get serial port permissions
sudo usermod -a -G dialout $USER
sudo apt-get remove modemmanager -y- Install Tauri Prerequisites from here
- Install NodeJS >= 18.16.0 from here
- Install Yarn >= 3.5.1 from here
Before running for the first time, install js dependencies using the following command.
yarn installThe following will start a dev build of the app
yarn tauri devNote: WEBKIT_DISABLE_COMPOSITING_MODE env variable will be automatically set to 1 to overcome rendering bugs.
yarn tauri buildThe generated installer varies depending on the operating system where the command is executed:
- On Linux, a
.appImageand.debexecutables are created. - On Windows, a
.msiand.exeexecutables are created. - On Mac, a
.appand.dmgfile is created.
The executables is saved at src-tauri/target/release/bundle
- VS Code + Tauri + rust-analyzer + XState VSCode
- For VS Code run the following to generate a new settings.json and select the new Typescript version
yarn dlx @yarnpkg/sdks vscode