-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] Amber Updater #145
Comments
I was thinking of two possible ways to do it: CLI command option: amber --check-version
Current version: 1.0.0
Latest version: 1.2.0
Run amber --update to get the latest version Manual command option: amber ---check-version
Current version: 1.0.0
Latest version: 1.2.0
To update amber run:
curl -s "https://raw.githubusercontent.com/Ph0enixKM/AmberNative/master/setup/update.sh" | /usr/bin/env bash |
shouldn't this kind of thing be done via the system's package manager? |
I expect so if you installed it from one. Currently we have a script that is the "recommended" (or for most systems only) way to do it. So as I understood the task from the project we want something like this. |
Well this is a good question. When Amber was first created I was not focusing on maintaining packages. Now since there are propositions to maintain Amber via Homebrew tap or AUR packages - this could be unnecessary. However... I still think that Amber should at least inform the user about new updates in some way and it should instruct them on how to update it. I think that this issue should at least cover the ability to check the latest version. If do something like |
when would be the right time to do this, though? sending an HTTP request somewhere each compilation seems very unnecessary and time consuming. also the users might not like the excessive telemetry i cant really think of a language/compiler/interpreter that informs the user about a new update tbh |
I think that creating |
@b1ek This could happen when user checks the compiler version. Although I'm not sure if people would be against that. We can always just leave the |
Make so that Amber can update itself.
The text was updated successfully, but these errors were encountered: