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

[Bug] scoop update does ask for confirmation whan updating apps that contain powershell modules #5173

Closed
marticliment opened this issue Oct 6, 2022 · 2 comments
Labels

Comments

@marticliment
Copy link

Bug Report

Current Behavior

On certain scenarions, the scoop update script will call a specific powershell command, that will ask for confirmation or will hang until an input is given. This behaviour, that shoule be able to be easily fixed by adding the argument that the prompt refers to, can block unattended runs or integrations, as it did in the WingetUI app.
image (repost from martinet101/WingetUI#207)

Expected Behavior

scoop updates the package without further confirmation

Additional context/output

This issue might occurr when calling powershell -Command scoop update package
It won't occur when directly calling scoop update package (don't know why, it just happens like this).

further details can be found here: marticliment/UniGetUI#207

Possible Solution

Add that argument that will make the process unattended

System details

W10 and W11 affected (not tested on any other platforms)

Windows version: 10/11
OS architecture: 64bit

PowerShell version:

Major  Minor  Build  Revision
-----  -----  -----  --------
5      1      22621  436

Additional software:
git installed for scoop updating

Scoop Configuration

{
    "lastUpdate":  "2022-10-06T17:24:22.1656175+02:00",
    "SCOOP_REPO":  "https://github.com/ScoopInstaller/Scoop",
    "SCOOP_BRANCH":  "master"
}
@rashil2000
Copy link
Member

Fixed in develop: #5127

@marticliment
Copy link
Author

Ok Thanks!

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