PowerShell / PowerShell/PSResourceGet

Powershell shouldn't install modules to MyDocuments as thats not for applications

Aperta
#195 7 commenti 12 reazioni 1 assegnatario Vedi su GitHub

@alerickson ci sta già lavorando.

Dal 11/5/2022.

Area-Install Issue-Bug Issue-Discussion Status-Investigating
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.

  1. Collisions with OneDrive and the install-module resulting in modules not saving correctly
  2. 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

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.