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

Feature/change to offical install way #4

Merged

Conversation

Inori-Lover
Copy link
Contributor

从解析官方发布页 html 的做法转移到解析官方发布信息json。

ref:

@Inori-Lover
Copy link
Contributor Author

@aooohan it would be nice if you can review it

@myty
Copy link

myty commented Mar 5, 2025

As referenced in the PR, dotnet URLs have changed and I now get this.

❯ mise use -g dotnet@latest --verbose
DEBUG ARGS: C:\Users\e093035\scoop\apps\mise\current\bin\mise.exe use -g dotnet@latest --verbose
DEBUG config: C:\Users\e093035\scoop\apps\mise\current\config.toml
DEBUG install_some_versions: dotnet@latest
DEBUG GET http://mise-versions.jdx.dev/dotnet
DEBUG starting new connection: http://mise-versions.jdx.dev/
DEBUG GET http://mise-versions.jdx.dev/dotnet 200 OK
INFO  [email protected]  install
DEBUG [vfox:dotnet] pre_install
DEBUG Getting metadata for dotnet
DEBUG starting new connection: https://dotnet.microsoft.com/
Error:
   0: failed to install vfox:[email protected]
   1: runtime error: [string "C:\Users\runneradmin\.cargo\registry\src\in..."]:1: attempt to index field 'node' (a nil value)
      stack traceback:
        [string "C:\Users\runneradmin\.cargo\registry\src\in..."]:1: in function 'find'
        ...mise\current\mise\plugins\dotnet\hooks\available.lua:20: in function 'Available'
        ...se\current\mise\plugins\dotnet\hooks/pre_install.lua:7: in function <...se\current\mise\plugins\dotnet\hooks/pre_install.lua:6>
        (tail call): in function <(tail call):-1>

Location:
   src\backend\vfox.rs:73

Version:
   2025.3.0 windows-x64 (2025-03-01)

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

Copy link
Member

@aooohan aooohan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

抱歉刚看到。@Inori-Lover

@aooohan aooohan merged commit afe164e into version-fox:main Mar 6, 2025
@aooohan aooohan mentioned this pull request Mar 6, 2025
@Inori-Lover Inori-Lover deleted the feature/change-to-offical-install-way branch March 7, 2025 03:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants