Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 1.51 KB

README.md

File metadata and controls

30 lines (23 loc) · 1.51 KB

Tauri udate server


This updater is built for use in updating Tauri applications hosted on private github repos but can also be used to update those hosted in public repos.

env variables

ENV VARIABLE DESCRIPTION
API_KEY For authentication
Should be same as the one provided as the api_key query param in updater url in your tauri config
GITHUB_TOKEN Your github access token
Ensure to replace the access token in the env variables when it expires
OWNER Github username
REPO Github repo name
NODE_ENV current environment (can be either development or production)

Tauri Config

In your tauri application setup your updater configurations as follows:

"updater": {
      "active": true,
      "dialog": false,
      "endpoints": [
        "https://your-domain.com/release?api_key=<API KEY SIMILAR TO THE ONE IN THE UPDATE SERVER ENV VARIABLE>"
      ],
      "pubkey": "<YOUR PUBLIC KEY>"
    },