flathub / flathub/com.visualstudio.code

Disable VSCode's built-in auto update by default

Đang mở
#357 2 bình luận 9 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Shell
Star
217
Fork
82
Merge trung bình
1 ngày 7 giờ
Pull request đã merge (30 ngày)
1

Mô tả

## Why

- Sometimes the Flatpak version is out of sync with the Microsoft release schedule
- The built-in update doesn't really have the ability to update the application due to the read-only essence of flatpak
- This practice is also found in applications like Firefox.

## How

### Approach 1

Unset `updateUrl` in `product.json` as what VSCodium does: https://github.com/VSCodium/vscodium/blob/9c8d4b367dadb4a4b007285a737233b8ee3cdf86/prepare_vscode.sh#L104-L106

### Approach 2

Set `UpdateMode` [policy](https://github.com/microsoft/vscode/blob/38b3b3179ecde98238c118343660388278c30378/src/vs/platform/update/common/update.config.contribution.ts#L32) to `none` in [Policy settings](https://code.visualstudio.com/docs/getstarted/settings#_settings-precedence). But I haven't figured out how to set the policy.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

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.