flathub / com.visualstudio.code

https://flathub.org/apps/details/com.visualstudio.code
150 stars 69 forks source link

Disable VSCode's built-in auto update by default #357

Open proletarius101 opened 1 year ago

proletarius101 commented 1 year ago

Why

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 to none in Policy settings. But I haven't figured out how to set the policy.

ran-dall commented 1 year ago

@proletarius101 Approach 2 should simply be "update.mode": "none", // Disable update mode in settings.json

proletarius101 commented 1 year ago

@ran-dall yes. But I'm proposing to make it default