Tauri's App updater with Node JS with your git repository's releases.
- Fork this repository
- Clone your fork locally using folooing command
$ git clone https://github.com/<your_github_username>/tauri-update-server-node.git
- Change directory to
tauri-update-server-node
$ cd tauri-update-server-node
- Install dependencies using
yarn
$ yarn install
- Rename the
.env.example
file to.env
and fill in the required details (GH_OWNER
andGH_REPO
) - Run the server using
$ yarn start
In tauri.conf.json
:
{
// For more information, see https://tauri.app/v1/guides/distribution/updater/#tauri-configuration
"tauri": {
"updater": {
"active": true,
"endpoints": [
"https://releases.myapp.com/{{target}}/{{arch}}/{{current_version}}"
],
"dialog": true,
"pubkey": "YOUR_UPDATER_SIGNATURE_PUBKEY_HERE"
}
}
}
In your releases, please follow the following naming convention:
Operating System | x86_64 (64-bit) | i686 (32-bit) | armv7 (ARM32) | aarch64 (ARM64) |
---|---|---|---|---|
macOs | Installer: *x64.app.tar.gz *x64.dmg.tar.gz Signature: *x64.app.tar.gz.sig *x64.dmg.tar.gz.sig |
❌ | ❌ | Installer: *amd64.app.tar.gz *amd64.dmg.tar.gz Signature: *amd64.app.tar.gz.sig *amd64.dmg.tar.gz.sig |
Linux | ❌ | ❌ | Installer: *amd32.AppImage.tar.gz *amd32.deb.tar.gz Signature: *amd32.AppImage.tar.gz.sig *amd32.deb.tar.gz.sig |
Installer: *amd64.AppImage.tar.gz *amd64.deb.tar.gz Signature: *amd64.AppImage.tar.gz.sig *amd64.deb.tar.gz.sig |
Windows | Installer: *x64.msi.zip Signature: *x64.msi.zip.sig |
Installer: *x32.msi.zip Signature: *x32.msi.zip.sig |
❌ | ❌ |