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

And notice for agreement of the winget command #82

Closed
1 task done
Namorzyny opened this issue Jan 27, 2023 · 3 comments
Closed
1 task done

And notice for agreement of the winget command #82

Namorzyny opened this issue Jan 27, 2023 · 3 comments
Labels

Comments

@Namorzyny
Copy link

Namorzyny commented Jan 27, 2023

Description

As the title says, neowofetch freezes on Windows 11 [Version 10.0.22621.1105]
Use Git for Windows (Version 2.39.1.windows.1)

Using the winget command must agree their agreement. That's an interactive interface so it looks like freezed. Maybe a notice is need?

  • Does this issue still occur in the master branch? (Required if issue)

Neofetch version

7.3.6 (installed from npm)

Screenshot

スクリーンショット 2023-01-27 220414

Config file

Not configured yet. Default settings.

Verbose log

Nothing was outputted with -vv.

@Namorzyny
Copy link
Author

Seems it take very very long time on counting winget

hyfetch/neofetch

Line 2027 in 7034721

# Count winget

@Namorzyny
Copy link
Author

Namorzyny commented Jan 27, 2023

Ok, I found the solution. The reason is that using the winget command must agree their agreement. That's an interactive interface so it looks like freezed. Maybe a notice is need?

@Namorzyny Namorzyny changed the title neowofetch freezes on Windows 11 And notice for agreement of the winget command Jan 27, 2023
@hykilpikonna
Copy link
Owner

Thanks for reporting the issue. I'm not familiar with winget, but apparently there are different agreement targets such as source agreements, package agreements, and others. Does --accept-package-agreements --accept-source-agreements argument suppress the agreement prompt?

Or I can try to pipe y to it like yes | winget 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants