feat: add DISABLE_UPDATE env to disable updates

This commit is contained in:
Baptiste Augrain
2022-09-26 09:30:43 +02:00
parent f0d9c5aed4
commit 2f8edd92f3

View File

@@ -100,7 +100,10 @@ setpath "product" "reportIssueUrl" "https://github.com/VSCodium/vscodium/issues/
setpath "product" "requestFeatureUrl" "https://go.microsoft.com/fwlink/?LinkID=533482"
setpath "product" "tipsAndTricksUrl" "https://go.microsoft.com/fwlink/?linkid=852118"
setpath "product" "twitterUrl" "https://go.microsoft.com/fwlink/?LinkID=533687"
setpath "product" "updateUrl" "https://vscodium.now.sh"
if [[ "${DISABLE_UPDATE}" != "yes" ]]; then
setpath "product" "updateUrl" "https://vscodium.now.sh"
fo
if [[ "${VSCODE_QUALITY}" == "insider" ]]; then
setpath "product" "nameShort" "VSCodium - Insiders"