-
Notifications
You must be signed in to change notification settings - Fork 211
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
fix: change the link target to $HOME/.local/bin/fvm
in install.sh for linux
#700
base: main
Are you sure you want to change the base?
Conversation
@Nidal-Bakir is attempting to deploy a commit to the FlutterTools Team on Vercel. A member of the Team first needs to authorize it. |
$HOME/.local/bin/fvm
$HOME/.local/bin/fvm
in install.sh on linux
$HOME/.local/bin/fvm
in install.sh on linux$HOME/.local/bin/fvm
in install.sh for linux
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Is it good ? This is the only problem I have with FVM right now. |
@SSebigo |
@Nidal-Bakir Sorry for the delay on this, but can we maybe move the directory to ~/.fvm/bin/fvm instead of local, and make both mac and linux consistent? |
That script did work for me, fresh fedora40 install
There is no Edit: the script auto assumes that After manually creating local/bin folder and adding it to the PATH, the script worked |
The Script worked for me but still got 2 things needs to be done manually:
|
I cannot speak for the Mac because I do not have a Mac, and I do not know if Mac has a Nonetheless, we can add some extra comments to note that the |
Lets agree to disagree. You are correct. Most users should already have But it shouldn't hurt having these small checks inside the script, makes it more reliable. |
We can make the script create the |
That's trivial to add to PATH but personally I would just echo the instructions to the user add manually |
No, it's not trivial!
|
So as for now, it turns out that some distros do not follow the XDG Base Directory Specification
We need to do the following:
|
Jesus, man. when I say "echo" I mean display it to terminal to the user add it manually. But yes, its trivial to automatically add to correct shell file and still check if ts already set. |
Apologies for my mistake. I misinterpreted your comment. If you are confident about it, then please guide me in the right way. |
So we have two options I think:
|
@Nidal-Bakir When looking at similar .sh scripts to install, I found the use of Can you take a brief look at this, as it would be more straightforward to just set this? |
@Nidal-Bakir, can you confirm my message above with the example from Bun? It seems they are not using local. I would prefer this approach if it works without manual intervention. |
This will fix: #699