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

Pointing system variable SCOOP to "C:\ProgramData\scoop" treats all installed apps as both local and global #4424

Open
cgassmann opened this issue Aug 10, 2021 · 1 comment

Comments

@cgassmann
Copy link

In order to use scoop truly system-wide, I've pointed system variable SCOOP to C:\ProgramData\scoop. It now treats all installed apps as both local and global:

> scoop list
Installed apps:

  7zip 19.00 [main]
  7zip 19.00 *global* [main]
  aria2 1.35.0-1 *global* [main]
  aria2 1.35.0-1 [main]
...
> sudo scoop update * -g
Updating Scoop...
...
Scoop was updated successfully!
sumo: 5.13.0.497 -> 5.13.1.498
sumo: 5.13.0.497 -> 5.13.1.498 (global)
Updating 2 outdated apps:
Updating 'sumo' (5.13.0.497 -> 5.13.1.498)
...
'sumo' (5.13.1.498) was installed successfully!
WARN  The latest version of 'sumo' (5.13.1.498) is already installed.

I'm not detecting major negative impact so far - it seems mostly cosmetic.

@eggbean
Copy link

eggbean commented Jan 5, 2024

I've been doing this for a while and it works fine, apart from the double listing annoyance.

I've made this PowerShell script to automate installation for all users. Working fine for me, but please tell me if anyone finds any problems:

https://gist.github.com/eggbean/c6074011d92b79090dfb40381265080f

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

No branches or pull requests

3 participants