Sharedasset detection using checksum can fail when switching between proton and native on second install [no fix needed?]
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 45/100
Hướng nghiên cứu
Xem xét logic phát hiện tài nguyên dùng chung của trình cài đặt, có thể nằm trong một tệp xử lý checksum hoặc quản lý tài nguyên. Vấn đề mô tả một kịch bản trong đó tệp sao lưu (sharedassets0.assets.backup) từ bản cài đặt Proton gây ra sự không khớp trên một bản cài đặt Native tiếp theo. Bắt đầu bằng cách tìm nơi checksum được tính cho sharedassets0.assets và bản sao lưu của nó. Hiểu luồng cài đặt để xem bản sao lưu được tạo ra như thế nào và khi nào nó bị ghi đè. Việc kiểm tra liên quan đến việc mô phỏng các bản cài đặt chuyển đổi giữa chế độ Proton và Native.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
For some chapters (eg. ch8), installer chooses sharedassets depending on the checksum of the original sharedassets0.assets.
Because our installer overwrites the sharedassets0.assets file, we also check the checksum of the sharedassets0.assets.backup file to see the "original" sharedassets file. This .backup file is created by our installer when you install the mod.
However, if you:
- First install using say Proton, it will create a sharedassets0.assets.backup file from the Proton install.
- Switch back to Native. This will overwrite the sharedassets0.assets with the Native version
- Perform an install of the mod the first time, the install will work OK (it will overwrite the sharedassets0.assets with the mod version)
- Because a .backup file already exists, this install won't overwrite the sharedassets0.assets.backup file
- Now, when you perform the second install or update, the sharedassets0.assets will be the mod version, which the installer does not recognise. Also, the sharedassets0.assets.backup file is from the Proton install, which the mod also does not recognize. This will cause an install error.
- Ngôn ngữ chính
- JavaScript
- Star
- 214
- Fork
- 12
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của 07th-mod/python-patcher
-
SSL/TLS Errors Index PageĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
07th-mod/python-patcher#214 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
07th-mod/python-patcher#193 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
07th-mod/python-patcher#137 ·
-
enhancement help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
07th-mod/python-patcher#83 ·
-
Missing cert on Fedora LinuxĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
07th-mod/python-patcher#80 · 11 bình luận ·
Tất cả issue của 07th-mod/python-patcher
Issue tương tự
-
area: docs good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Support
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
openseadragon/openseadragon#2996 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
jfromaniello/url-join#134 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100