Visual Studio Code
Paquet d’installation silencieuse pour Visual Studio Code
1.108.2-43
Development
Development
Les paquets PREPROD sont des paquets construits via LUTI.
Ils restent généralement 5 jours en PREPROD, après quoi un deuxième scan VirusTotal est effectué pour vérifier que le status n'a pas changé.
Si le paquet réussit ce dernier contrôle, il est promu en PROD et publié sur le store.
- package: tis-vscode
- name: Visual Studio Code
- version: 1.108.2-43
- categories: Development
- maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ,Jordan ARNAUD
- editor: Microsoft
- licence: MIT,TypeScript
- locale: all
- target_os: debian(>=12),ubuntu(>=20)
- impacted_process: Code,code
- architecture: x64
- signature_date:
- size: 114.50 Mo
- installed_size: 415.31 Mo
- homepage : https://code.visualstudio.com/
package : tis-vscode
version : 1.108.2-43
architecture : x64
section : base
priority : optional
name : Visual Studio Code
categories : Development
maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ,Jordan ARNAUD
description : Visual Studio Code is a source-code editor developed by Microsoft
depends :
conflicts :
maturity : PREPROD
locale : all
target_os : debian(>=12),ubuntu(>=20)
min_wapt_version : 2.3
sources : https://code.visualstudio.com/Download
installed_size : 415312378
impacted_process : Code,code
description_fr : Visual Studio Code est un éditeur de code extensible développé par Microsoft
description_pl : Visual Studio Code to edytor kodu źródłowego opracowany przez firmę Microsoft
description_de : Visual Studio Code ist ein von Microsoft entwickelter Quellcode-Editor
description_es : Visual Studio Code es un editor de código fuente desarrollado por Microsoft
description_pt : Visual Studio Code é um editor de código-fonte desenvolvido pela Microsoft
description_it : Visual Studio Code è un editor di codice sorgente sviluppato da Microsoft
description_nl : Visual Studio Code is een broncode-editor ontwikkeld door Microsoft
description_ru : Visual Studio Code - это редактор исходного кода, разработанный компанией Microsoft
audit_schedule :
editor : Microsoft
keywords : visual,studio,code,vs,vscode,editor,debugger
licence : MIT,TypeScript
homepage : https://code.visualstudio.com/
package_uuid : 87ebb7dc-cdde-46f4-87fc-1373749b8461
valid_from :
valid_until :
forced_install_on :
changelog : https://code.visualstudio.com/updates
min_os_version :
max_os_version :
icon_sha256sum : 50b90b0ed98d91261db603bf1d2f762c0912d9f615961b92af1e483fbd129aa7
signer : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date : 2026-01-23T22:25:29.000000
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
signature : pzJ7Rsecan6+h+nhq9/KH4XoeN7r8+/ivnvpuN1Skbu+5OVyNtLHwjw96YmCIWng9YKoBepAppWEe1zAzZfgdfd6GVJBegL2bvx7fxefFQtzNyt2wZAWM1Wuhob1p5eGmn39CTKgELVSFXVViXBo7p7fDezBOKpr0Dg4n6wC9Fwf2siA8S/ArnffVXSaoyWnPoCMFTr9Efdd+9MYv8ggVGljwMnNukMUuoyS5jwsV5xFGQ/OSxtWMIfQKHpNa4oy77OJ9Pyx3VTSG2HsKryNMAR0ty1BHXCNOPiHb7ZMkRvUmBLGfHHQxYcIPgElgZmfcD0W8O744mmh/mZ1VvnaAQ==
# -*- coding: utf-8 -*-
from setuphelpers import *
import json
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
bin_contains = "code_"
package_name = "code"
app_dist_source_path = "/etc/apt/sources.list.d/vscode.list"
if is_debian() and Version(get_debian_version()) >= Version("13"):
app_dist_source_path = "/etc/apt/sources.list.d/vscode.sources"
def install():
# Declaring local variables
package_version = control.get_software_version()
bin_name = glob.glob("*%s*.deb" % bin_contains)[0]
# Deleting the distribution source file of the application
if isfile(app_dist_source_path):
print("Removing: %s" % app_dist_source_path)
remove_file(app_dist_source_path)
update_apt()
# Installing the software
print("Installing: %s" % bin_name)
install_deb(bin_name)
# Deleting the distribution source file of the application
if isfile(app_dist_source_path):
print("Removing: %s" % app_dist_source_path)
remove_file(app_dist_source_path)
def uninstall():
# Uninstalling the package
print("Uninstalling: %s" % package_name)
uninstall_apt(package_name)
def session_setup():
print("Disabling: Telemetry, automatic updates, surveys")
# Configuration procedure: https://supunkavinda.blog/vscode-editing-settings-json
# C:\Users\username\AppData\Roaming\Code\User\settings.json
# Initializing variables
user_conf_dir = makepath(user_home_directory(), ".config", "Code", "User")
user_conf_file = makepath(user_conf_dir, "settings.json")
user_conf_content = r"""{
"update.mode": "none",
"update.enableWindowsBackgroundUpdates": false,
"update.showReleaseNotes": false,
"telemetry.telemetryLevel": "off",
"typescript.surveys.enabled": false,
"extensions.autoCheckUpdates": false,
"extensions.autoUpdate": false
}"""
user_conf_data = json.loads(user_conf_content.strip(","))
if not isdir(user_conf_dir):
mkdirs(user_conf_dir)
if not isfile(user_conf_file):
print("Creating: %s" % user_conf_file)
json_write_file(user_conf_file, user_conf_data)
else:
new_user_conf_data = json_load_file(user_conf_file)
new_user_conf_data.update(user_conf_data)
print("Updating: %s" % user_conf_file)
json_write_file(user_conf_file, new_user_conf_data)
# -*- coding: utf-8 -*-
from setuphelpers import *
import json
def update_package():
# Declaring local variables
result = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
app_name = control.name
arch = control.architecture
api_url = "https://api.github.com/repos/microsoft/vscode/releases/latest"
# Getting latest version information from official sources
print("API used is: %s" % api_url)
json_load = json.loads(wgets(api_url, proxies=proxies))
version = json_load["tag_name"]
download_url = f"https://update.code.visualstudio.com/{version}/linux-deb-x64/stable"
latest_bin = f"code_{version}_{arch}.deb"
print("Latest %s version is: %s" % (app_name, version))
print("Download URL is: %s" % download_url)
# Downloading latest binaries
if not isfile(latest_bin):
print("Downloading: %s" % latest_bin)
wget(download_url, latest_bin, proxies=proxies)
# Changing version of the package
if Version(version) > Version(control.get_software_version()):
print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
result = True
else:
print("Software version up-to-date (%s)" % Version(version))
control.version = "%s-%s" % (Version(version), control.version.split("-", 1)[-1])
# control.set_software_version(version)
control.save_control_to_wapt()
# Deleting outdated binaries
remove_outdated_binaries(version)
# Validating update-package-sources
return result
01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
48c7e88496d1b155d04186866c673ecf240d4048e9ff0c694fefbecfcca5d18b : WAPT/control
50b90b0ed98d91261db603bf1d2f762c0912d9f615961b92af1e483fbd129aa7 : WAPT/icon.png
af054638b3f0638ad117f636d8ca559e0b310d69d9369365c7f631fe81e0e7d1 : code_1.108.2_x64.deb
f6c7b3561215473b419033ada7cf38c884b2027bf11f057a099da0e55f68291d : luti.json
e327ca5ffad23d46dca858864012effe3eceb56e4ef15845f2eb3c3392f66674 : setup.py
77ffdc48a497fbc14eb021df890468aefe190cb6bec53511588b18ac553a0c63 : update_package.py