Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Know how this copy was installed, and update the way that install should

Aperta
#51 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
49/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
csharp, sqlite
Ambito
desktop, devops

Direzione di ricerca

Start with src/Prompuff.Infrastructure/Updates/VelopackUpdateService.cs and its IsSupported and CheckForUpdatesAsync methods, then read IUpdateService, DiagnosticReport, and the Updates section in SettingsViewModel. Record the install approach in ROADMAP.md; the issue calls for tests covering each install type and documentation in docs/user-guide.md. Done means Settings and diagnostics reflect each install type’s update behavior, and the guide explains it.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

A copy that came from a package manager shouldn't update itself. Today nothing in the code tells a portable, installed, AppImage or packaged copy apart: DiagnosticReport prints only "installed" or "development build".

What to do

  • Prompuff knows how it was installed: the Windows installer, the portable zip, an AppImage, a .deb, the AUR or a Flatpak. A package can carry a read-only marker beside the app, and a Flatpak sets FLATPAK_ID. Record the approach in ROADMAP.md.
  • A .deb or AUR copy checks for updates as before, but points to the new download or the package manager instead of installing it. A Flatpak leaves updates to Flathub and doesn't check.
  • Settings › Updates says how this copy updates, and Copy diagnostic info names the install type.
  • The Velopack check stays the only network code, and it stays switchable in Settings.

Where to look

  • src/Prompuff.Infrastructure/Updates/VelopackUpdateService.cs: IsSupported, CheckForUpdatesAsync
  • src/Prompuff.Application/Interfaces/IUpdateService.cs
  • src/Prompuff.Infrastructure/Diagnostics/DiagnosticReport.cs
  • src/Prompuff.App/ViewModels/SettingsViewModel.cs: the Updates section

Done when

  • Each install type shows the right update behavior in Settings › Updates, and tests cover each one.
  • docs/user-guide.md says how each kind of copy updates.
Lingua principale
C#
Stelle
0
Fork
1
Merge medio
1h 21m
PR unite (30g)
22

Preparare l'ambiente

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.

Altre issue di hazeliscoding/prompuff

Tutte le issue di hazeliscoding/prompuff

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.