Sign inSign up

wovnep/tauri-update-server

By wovnep

Updated about 2 years ago

Tauri update Server

Image
0

1.3K

wovnep/tauri-update-server repository overview

Tauri update server

Server to update your tauri app. Supports github public/private repositories.

Usage

git clone https://github.com/wovnep/tauri-update-server.git
cd tauri-update-server
npm install
npm run build && npm start

In tauri.conf.json Replace http://localhost:8080 with your hostname. Make sure to add all the query parameters.

  ...
  "updater": {
    "active": true,
    "endpoints": [
      "http://localhost:8080/update?current_version={{current_version}}&target={{target}}&arch={{arch}}"
      ],
    "dialog": true,
    "pubkey": "xxx"
  }
  ...

Docker

Image:
docker pull wovnep/tauri-update-server:latest
CLI usage:
docker run \
  -e USERNAME='user' \
  -e REPO='repository' \
  -e TAG_STRUCTURE='v' \
  -e API_KEY='xxxxxxxx' \
  -e DEFAULT_LANG='en-US' \
  -e SIGNATURE='true' \
  wovnep/tauri-update-server:latest
Docker compose:
services:
  update-server:
    container_name: Tauri update server
    image: wovnep/tauri-update-server:latest
    ports:
      - "3000:8080"
    environment:
      - USERNAME=wovnep
      - REPO=tauri-updater
      - API_KEY=${API_KEY}
      - TAG_STRUCTURE=v
      - DEFAULT_LANG=en-US
      - SIGNATURE=true

Environment variables

NameRequiredDefaultDescription
USERNAMEtruenullGithub username/owner/organization
REPOtruenullGithub repository of the project
DEFAULT_LANGfalseen-USWindows build language. Supported languages.
TAG_STRUCTUREtruevRelease tag prefix. eg: v in v1.23.4
SIGNATUREfalsefalseIf you sign updates, Set this to true.
API_KEYfalsenullPersonal access token.

Development

Build

npm run build

Start

npm start

Dev

npm run dev

License

MIT

Tag summary

Content type

Image

Digest

sha256:595ac2e2d

Size

384.1 MB

Last updated

about 2 years ago

docker pull wovnep/tauri-update-server