Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#51 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
49/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
csharp, sqlite
Lĩnh vực
desktop, devops

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
C#
Star
0
Fork
1
Merge trung bình
1 giờ 21 phút
Pull request đã merge (30 ngày)
22

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của hazeliscoding/prompuff

Tất cả issue của hazeliscoding/prompuff

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.