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

Only show installed stucks GUI #44

Open
steve02081504 opened this issue Apr 1, 2024 · 5 comments
Open

Only show installed stucks GUI #44

steve02081504 opened this issue Apr 1, 2024 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@steve02081504
Copy link

图片

@Raphire Raphire self-assigned this Apr 1, 2024
@Raphire Raphire added the bug Something isn't working label Apr 1, 2024
@Raphire
Copy link
Owner

Raphire commented Apr 1, 2024

Heya,

Sorry you're running into this issue.

I am unable to reproduce this issue on my own systems, although I do have an idea what might cause it. To add the ability to remove Edge and OneDrive the script will check if the apps exist in the list provided by winget. Although getting this list seems to sometimes get stuck or require user input. To prevent infinite loading I have added a 10 second timeout in f878ebf, but this doesn't solve the issue causing the script from getting stuck.

To help narrow this issue down could you please provide me with a few details?

  • What windows version are you running?
  • What are your pc specs? (Specifically processor, amount of ram, and storage drive)
  • How long have you waited after clicking the only show installed apps checkbox?
  • What winget version are you running? To find out, open powershell and type winget -v
    It should output something like this:
    image
  • What happens when you run winget list? To find out, open powershell and type winget list
    It should output something like this:
    image

@steve02081504
Copy link
Author

steve02081504 commented Apr 1, 2024

Heya,

Sorry you're running into this issue.

...

I tried running the winget list for a while, and then winget got stuck on updating the source for tens of minutes now (my network environment is not configured properly)
It looks like it's a problem with winget automatically updating the source, maybe we can disable it from networking with some parameter and just simply list what's installed?
图片
图片
^
5.3mb to download, 3.6kbps🤷‍♂️
图片

@Raphire
Copy link
Owner

Raphire commented Apr 1, 2024

Heya,
Sorry you're running into this issue.
...

I tried running the winget list for a while, and then winget got stuck on updating the source for tens of minutes now (my network environment is not configured properly) It looks like it's a problem with winget automatically updating the source, maybe we can disable it from networking with some parameter and just simply list what's installed? 图片 图片 ^ 5.3mb to download, 3.6kbps🤷‍♂️ 图片

Thanks for the quick reply.

That does explain the issue, I wasn't aware of this update behaviour for winget list.

From the documentation it doesn't seem like there's a way to just list apps without checking for updates. Documentation can be found here for reference; https://learn.microsoft.com/en-us/windows/package-manager/winget/list

I don't have time to fully dive into it right now, but it looks like I might have to look for a different way to check if certain apps are installed to avoid this issue.

@Targink321
Copy link

From my time using this show downloaded only didn’t show half of the stuff that is on your pc that can be debloated by manually selecting

@Raphire
Copy link
Owner

Raphire commented Dec 17, 2024

From my time using this show downloaded only didn’t show half of the stuff that is on your pc that can be debloated by manually selecting

What apps are installed, but not shown if you select the option to only show installed?

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

No branches or pull requests

3 participants