PowerShell / PowerShell/PSResourceGet
Powershell shouldn't install modules to MyDocuments as thats not for applications
@alerickson ci sta già lavorando.
Dal 11/5/2022.
- Lingua principale
- C#
- Stelle
- 576
- Fork
- 114
- Merge medio
- 1g 2h
- PR unite (30g)
- 7
Descrizione
Microsoft is pushing more and more during Onedrive setup to have MyDocuments managed by onedrive.
Being a good dev and not running elevated means installing packages with -Scope CurrentUser but this means packages are stored in MyDocuments\WindowsPowershell or MyDocuments\Powershell. This means all modules are then synchronised up to OneDrive.
This is made worse by sporadic issues due to connecting of Onedrive.
- Collisions with OneDrive and the install-module resulting in modules not saving correctly
- Modules not used in a while get "archived off" and thus are downloaded on demand by onedrive resulting in problems when trying to load modules
Use of AppData would be much more appropriate for modules.
related items #41
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Valutazione
Questa issue non è ancora stata valutata.