-
Describe the problemHey 👋, what should I do if I want to make it so that users who have beta receiving turned on in v1 receive the beta version, and those who don't have it turned on receive only the stable version? Describe the solution you'd likeGet Updates: https://github.com/ayangweb/EcoPaste-Updater/blob/master/api/update.ts update config: https://github.com/EcoPasteHub/EcoPaste/blob/ba343b2fd836fb60430e39c03d86f21e8f61b730/src-tauri/tauri.conf.json#L118 If my current stable version is v0.1.0, but some users did not update to v0.1.0 in time before the release of v0.1.1-beta.1, then they can't receive the v0.1.0 update. How should I fix this issue please? Thanks! Alternatives consideredNo response Additional contextNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
You will need to change the endpoint in your config to be something like this |
Beta Was this translation helpful? Give feedback.
-
@amrbashir @HuakunShen Thanks for all your help🌹, I know how to fix the problem!🥳 |
Beta Was this translation helpful? Give feedback.
You will need to change the endpoint in your config to be something like this
"https://ecopaste-updater.ayangweb.cn/api/update/{{current_version}}"
which will be replaced by tauri updater with the current tauri app version, so your users will request updates from something like thishttps://ecopaste-updater.ayangweb.cn/api/update/0.1.0
and in your updater server, you can check this version and provide the necessary update as you see fit.