-
Hi, I'm new to Tauri and i have been developing a simple app using Tauri for the past few days. I wanted to configure an auto updater similar to how electron does it. After reading the docs and if I am not mistaken, am i correct to assume i would need a backend server that is able to respond with the proper JSON file in order for the updater to work? Prior to using Tauri, I am using Electron-Builder and Github Releases to configure auto updates for my applications. As I am not planning to implement a dedicated release server anytime soon, may i know are there any methods i could configure Tauri to get updater working with just Github Releases? |
Beta Was this translation helpful? Give feedback.
Replies: 9 comments 28 replies
-
you can just add a json in a github gist and point the updater to it. |
Beta Was this translation helpful? Give feedback.
-
Guide moved to: https://tauri.studio/v1/guides/distribution/updater |
Beta Was this translation helpful? Give feedback.
-
Hi guys, is there a way to automatically generate the json file when the apps are built? When I do a tauri build and have bundles available, I would like to streamline the process of creating the update json file to then upload to my server. Currently I need to copy paste the signature found in the sig files to the json file manually. It would be great to have this done automatically. Then with an automatic upload to the server the build process would be really smooth. Unless there is already a build process or workflow that I am not aware of that takes care of this? |
Beta Was this translation helpful? Give feedback.
-
Hi, is there a way to get the auto updater work with private GitHub repos? |
Beta Was this translation helpful? Give feedback.
-
Do we have to implement a update server? Is there a template we can use? I am looking at https://github.com/vercel/hazel, which should work for electron |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
How to enable automatic updates for applications installed through both MSI and NSIS installation packages? |
Beta Was this translation helpful? Give feedback.
-
First thanks for Tauri it is so much smaller deployment than electron. I have my deployment to github and updater working but I have to say it is a lot of work just to make a new release using the latest.json manual not github actions method. So, it looks like every time I want to publish a new release I have to touch 5 files. I have to change the version number in tauri.conf.json, Cargo.toml, package.json, and latest.json with the addition of opening the new key files and pasting that into latest.json and pasting the new download paths. With electron builder I could setup my config once and then all I had to do was change the version in the package.json to create a new release and upload exe files. A simple npm run publish is all that was needed after the initial config. Unless I am doing this wrong I think the deployment and update procedure needs to be looked at. Thnaks! |
Beta Was this translation helpful? Give feedback.
-
Thanks for letting me know. I was looking for that info in the docs but could not find it. I then came across an article on how to do it and they said you needed to change all three. I am using github and I just got tauri-action working in a manual release mode. Thanks, Cheers! |
Beta Was this translation helpful? Give feedback.
you can just add a json in a github gist and point the updater to it.