Skip to content
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

GodotEnv generating Invalid Symbolic Link on Windows for non dotnet installations #35

Closed
oshelton opened this issue Oct 24, 2023 · 1 comment · Fixed by #47
Closed
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@oshelton
Copy link

oshelton commented Oct 24, 2023

I'm winding up with an invalid symbolic link after calling godotenv godot use 4.1.2 -n on Windows with a non-dotnet installation of Godot 4.1.2.

Steps to Reproduce:

  1. Install non-dotnet godot 4.1.2 godotenv godot install 4.1.2 --no-dotnet.
  2. Activate it for use godotenv godot use 4.1.2 -n.

Expected:
Running %godot% from a cmd terminal should launch the desired non-dotnet version of Godot.

Actual:
Running %godot% from a cmd terminal yields the following error:

'C:\Users\...\AppData\Roaming\godotenv\godot\bin' is not recognized as an internal or external command, operable program or batch file.

It appears that the generated symlink expects a subdirectory to be present:
versions\godot_4_1_2\Godot_v4.1.2-stable_win64.exe\Godot_v4.1.2-stable_win64.exe

When in reality the path to the binaries is:
versions\godot_4_1_2\Godot_v4.1.2-stable_win64.exe

.Net enabled builds do use a subfolder for the binaries directory and work as expected.

@definitelyokay definitelyokay added the bug Something isn't working label Oct 24, 2023
@definitelyokay definitelyokay added the help wanted Extra attention is needed label Nov 19, 2023
@definitelyokay definitelyokay linked a pull request Nov 30, 2023 that will close this issue
@definitelyokay
Copy link
Member

Fixed by #47!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants