Skip to content

Latest commit

 

History

History
73 lines (43 loc) · 1.51 KB

Building.md

File metadata and controls

73 lines (43 loc) · 1.51 KB

Building

We use Tauri which requires some extra setup.

Sidecar

The interface uses Sidecar as it's backend for communication
with OpenVR and must be built first for the project to run.

  1. Navigate to /sidecar/.

  2. Create & Enter a folder named build.

  3. Run CMake with:

    cmake ..
  4. Open the generated Visual Studio project.

  5. Build the project in a Release / MinSizeRel mode.

  6. Copy the build Artifacts into /src-tauri/.

    • sidecar-x86_64-pc-windows-msvc.exe
    • openvr_api.dll

Building the Application

  1. Have Sidecar built.

  2. Install dependencies with:

    yarn install
  3. Launch the development server with:

    yarn run dev

    The initial run may take a significant amount of time.

  4. Build the interface with:

    yarn run build

    Artifacts will be placed in src-tauri/targets/release.
    An Installer is located in src-tauri/targets/release/bundle-msi


Note

Using the Installer will automatically install Webview2.

If you only plan on distributing the UI & Sidecar
binaries, you will have to manually install Webview2.