No description
| data | ||
| .gitignore | ||
| cli.js | ||
| config.example.js | ||
| main.js | ||
| 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.sigfor Linux*.msi.zip&*.msi.zip.sigfor Windows*.app.tar.gz&*.app.tar.gz.sigfor Mac