Replies: 2 comments 6 replies
-
I am running into this same issue as well. I understand that we can have a proxy/middleware server that we can have the Tauri updater endpoint point to, but that server still returns a URL that is consumed by the updater, and that URL cannot be authenticated. Everybody out there is saying that we can add the binaries as assets to a public repo release. But I have mentioned that this does not solve the problem. The repo is public and the assets are as well, so this doesn't solve anything. I am not getting any straight answers from anybody either. My client requires that these build assets and binaries NOT be public and I do not blame them. @khrykin Have you been able to solve this? |
Beta Was this translation helpful? Give feedback.
-
Hi @CalvinWilkinson , Thanks to your response, I decided to dig further and manage to get Tauri V2 Updater working with Deno proxy. Here are the full instructions: Deno project code: |
Beta Was this translation helpful? Give feedback.
-
Hey, looking for some help regarding the self-updater. I've found some older discussions but not sure how relevant they are still.
Is it currently possible to use a private repo's Github Releases for self-updates? We don't want to expose the app binaries to the public. There's a way to pass a header to the updater e.g.
Authorization
, but as GitHub API doesn't provide an endpoint for one of the latest release's assets (We needlatest.json
), one needs to perform two requests - first fetch the latest release endpoint; find the asset id, and then fetch the asset endpoint using that id. And as I understand, currently you can only provide a list of endpoints that directly respond withlatest.json
intauri.conf.json
. Moreover, if using tauri-action,latest.json
mentions only browser download links for the assets, and you can't authenticate those with an access token.From the docs, it seems that the only option here is to spin up a proxy server that would implement obtaining
latest.json
with a single request - but we'd like to avoid it if possible. Am I missing something here?Thanks!
Beta Was this translation helpful? Give feedback.
All reactions