ScoopInstaller / Scoop

A command-line installer for Windows.
https://scoop.sh
Other
20.32k stars 1.37k forks source link

[Feature] Make the Scoop installation folder independent of the apps folders #5939

Open DelofJ opened 1 month ago

DelofJ commented 1 month ago

Feature Request

Is your feature request related to a problem? Please describe.

So here's my point, there is currently no official way to install Scoop for all users on a machine, it's possible to move the installation manually but it leads to a wacky behavior

Describe the solution you'd like

I already forked the code for the Installer and Scoop itself to make it work It's still a very big work-in-progress, but right now I tried to use my work and this feature is functional I'm not used to powershell and all that and I'm sorry if I did something wrong

Describe alternatives you've considered

I also thought that Scoop itself could also be install in any directory with the config file in this directory and the local/global directory being able to be completely different from the Scoop directory

Idk if you'll ever want to add this, but that's something I'd really like to see Here's the Pull Requests for the installer and scoop Thanks for your time

Edit : I modified it a bit so the Scoop installation directory could be completely separate from the 2 apps directories (local and global ones)

DelofJ commented 1 week ago

Hi, it's been a while since I talked about this, and I've heard nothing back about it I know I not the best best programmer in the world, there wan be some issues with my modified code, but I think it is still pretty reliable Anyway, is there any plan to implement a feature like this in the near future ? I'd love to see it being implemented

melMass commented 1 week ago

Anyway, is there any plan to implement a feature like this in the near future

I have no affiliations with Scoop but I would say don't start such a big PR without some guidance from maintainers. Each org/project has its flow but submitting an idea and discussing implementation is usually the first step.

This PR is a huge change (using LocalAppData) that probably has repercussions

DelofJ commented 1 week ago

How yeah I see, I made this change to keep things consistent, but it is not really needed, I can revert this change if needed