You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
KaKi87 64c12ec991 👽 'katys.cf' -> 'katys.eu.org' 7 days ago
data 🎉 Initial commit 7 months ago
.gitignore 🎉 Initial commit 7 months ago
README.md 👽 'katys.cf' -> 'katys.eu.org' 7 days ago
cli.js ♻️ 'cdn.jsdelivr.net/npm/axios' -> 'npm:axios' 3 months ago
config.example.js 🔧 Add example config file 6 months ago
main.js ♻️ 'rawcdn.githack.com' -> 'cdn.jsdelivr.net' 3 months ago

README.md

tauri-update-server

Automatically interface Tauri's updater with your git repository's releases.

Usage

Self-host the server (optional)

cp config.example.js config.js # TODO: fill
deno run --allow-net --allow-read=data --allow-write=data main.js

Add/remove repos

deno run --allow-net https://git.kaki87.net/KaKi87/tauri-update-server/raw/branch/master/cli.js

When self-hosting, specify your server URL with --url=<url> (https://tauri-updates.kaki87.net by default).

In order to verify repo ownership, you will have to push a commit with a message ending with a specific code. You may use empty commits :

git commit --allow-empty -m "Enable/disable updater <code>"

Configure apps

In tauri.conf.json :

{
    "tauri": {
        "updater": {
            "active": true,
            "endpoints": [
                "<url>/repo/<id>/update/{{target}}/{{current_version}}"
            ]
        }
    }
}

Publish updates

In your releases, include the following files :

  • *_amd64.AppImage.tar.gz & *_amd64.AppImage.tar.gz.sig for Linux
  • *.msi.zip & *.msi.zip.sig for Windows
  • *.app.tar.gz & *.app.tar.gz.sig for Mac