tis-vscodium icon

VSCodium

Paquet d’installation silencieuse pour VSCodium

1.102.4606-43

  • package: tis-vscodium
  • name: VSCodium
  • version: 1.102.4606-43
  • categories: Development
  • maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ
  • editor: VSCodium
  • licence: opensource_free,cpe:/a:mit:x11_license,wapt_public
  • locale: all
  • target_os: windows
  • impacted_process: VSCodium,codium
  • architecture: x64
  • signature_date:
  • size: 112.33 Mo
  • installed_size: 366.79 Mo
  • homepage : https://vscodium.com/

package           : tis-vscodium
version           : 1.102.4606-43
architecture      : x64
section           : base
priority          : optional
name              : VSCodium
categories        : Development
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ
description       : VSCodium is a community-driven, freely-licensed binary distribution of Microsoft's editor VS Code
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.3
sources           : https://github.com/VSCodium/vscodium/releases
installed_size    : 366789546
impacted_process  : VSCodium,codium
description_fr    : VSCodium est une distribution binaire sous licence libre de l'éditeur VS Code de Microsoft
description_pl    : VSCodium to wspierana przez społeczność, udostępniana na wolnej licencji binarna dystrybucja edytora VS Code firmy Microsoft
description_de    : VSCodium ist eine von der Gemeinschaft betriebene, frei lizenzierte Binärdistribution von Microsofts Editor VS Code
description_es    : VSCodium es una distribución binaria del editor VS Code de Microsoft, impulsada por la comunidad y de licencia libre
description_pt    : O VSCodium é uma distribuição binária livremente licenciada e orientada para a comunidade do editor VS Code da Microsoft
description_it    : VSCodium è una distribuzione binaria con licenza libera e guidata dalla comunità dell'editor VS Code di Microsoft
description_nl    : VSCodium is een door de gemeenschap gestuurde binaire distributie onder vrije licentie van Microsofts editor VS Code
description_ru    : VSCodium - это свободно лицензируемый сообществом бинарный дистрибутив редактора VS Code от Microsoft
audit_schedule    : 
editor            : VSCodium
keywords          : code,editor,debugger,visual,studio,vs,vscodium,codium
licence           : opensource_free,cpe:/a:mit:x11_license,wapt_public
homepage          : https://vscodium.com/
package_uuid      : 74525358-030e-4750-824a-e0f38aac5305
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/VSCodium/vscodium/releases
min_os_version    : 6.3
max_os_version    : 
icon_sha256sum    : 9276eaee7406da4acedd4d7cae85a6cf041df867131323b231c24c65e223faae
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-07-20T08:00:18.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         : dy29kViqrhkf/DRRmFYmqJgt5mPZ/Ys8FYZwVHbEtvrROUmcYOVUBL4QDi4BBM6S4LXi7H8oeTn6rIHrFIeKaekJU+RbK/cDJGJ2e+DG4GI5mrboYRrN1A9AGUh6rWGaxRFGPj13C925jveCVmypZWXTn0qP03dFXlp0NIe72UyRTeMKgNR57hnfj91L0oI3TQfg7gD0+k+htED5uY3CG1/9320HFOpmCCuXzcDb9yidWklz2Ude+Ss7Dt5wr2BfqJAWd224VT+yUKDiHZvS7NF0kzuHbvwbp2j14q8wPhCgC2sscIxPrIXq9b9JVBtzalORwUnVpKzwNDNZeu0s+Q==

# -*- coding: utf-8 -*-
from setuphelpers import *
import json

"""
{
"key":"{88DA3577-054F-4CA1-8122-7D820494CFFB}_is1",
"name":"VSCodium",
"version":"1.87.2.24072",
"install_date":"2024-04-03 00:00:00",
"install_location":"C:\\Program Files\\VSCodium\\",
"uninstall_string":"\"C:\\Program Files\\VSCodium\\unins000.exe\"",
"publisher":"VSCodium",
"system_component":0,
"win64":true
}

# Default arguments : addcontextmenufiles,addcontextmenufolders,addtopath,associatewithfiles,!desktopicon,!quicklaunchicon,!runcode
Previous silent_args = '/verysilent /mergetasks="!addcontextmenufiles,!addcontextmenufolders,addtopath,associatewithfiles,!desktopicon,!quicklaunchicon,!runcode"'

"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
bin_contains = "VSCodiumSetup-"
silent_args = '/verysilent /mergetasks="!runcode"'


def install():
    # Declaring local variables
    package_version = control.get_software_version()
    bin_name = glob.glob("%s*.exe" % bin_contains)[0]
    if control.architecture == "x64":
        app_uninstallkey = "{88DA3577-054F-4CA1-8122-7D820494CFFB}_is1"
    else:
        app_uninstallkey = "{E34003BB-9E10-4501-8C11-BE3FAA83F23F}_is1"

    # Installing the software
    install_exe_if_needed(
        bin_name,
        silentflags=silent_args,
        key=app_uninstallkey,
        min_version=package_version,
    )


def session_setup():
    print("Disabling: Telemetry, automatic updates, surveys")

    # Configuration procedure: https://supunkavinda.blog/vscode-editing-settings-json
    # C:\Users\username\AppData\Roaming\VSCodium\User\settings.json

    # Declaring local variables
    user_conf_dir = makepath(user_appdata, "VSCodium", "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)
    if not isdir(user_conf_dir):
        mkdirs(user_conf_dir)
    if not isfile(user_conf_file):
        print("Creating: settings.json in: %s" % user_conf_dir)
        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: settings.json in: %s" % user_conf_dir)
        json_write_file(user_conf_file, new_user_conf_data)

# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    api_url = "https://api.github.com/repos/VSCodium/vscodium/releases/latest"
    update_dict = {
        "bin_contains": {
            "windows-x86": "VSCodiumSetup-ia32-",
            "windows-x64": "VSCodiumSetup-x64-",
        },
    }

    # Getting latest version information from official sources
    print("API used is: %s" % api_url)
    json_load = wgets(api_url, proxies=proxies, as_json=True)
    version = json_load["tag_name"]
    for to_download in json_load["assets"]:
        if update_dict["bin_contains"][control.target_os + "-" + ensure_list(control.architecture)[0]] in to_download["name"]:
            download_url = to_download["browser_download_url"]
            latest_bin = to_download["name"]
            break

    # Downloading latest binaries
    print("Latest %s version is: %s" % (control.name, version))
    print("Download URL is: %s" % download_url)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)
    else:
        print("Binary is present: %s" % latest_bin)

    # Deleting outdated binaries
    remove_outdated_binaries(latest_bin)
    # arch_list = ensure_list(control.architecture)
    # remove_outdated_binaries(version, filename_contains=("x64" if "x64" in arch_list else "x86" if "x86" in arch_list else []))

    # Checking version from file
    if get_os_name() == "Windows" and "windows" in control.target_os.lower():
        version_from_file = get_version_from_binary(latest_bin)
        if Version(version_from_file, 4) == Version(version, 4):
            print(f"INFO: Binary file version ({version_from_file}) corresponds to online version ({version})")
        else:
            error(f"ERROR: Binary file version ({version_from_file}) do NOT corresponds to online version ({version})")

    # Changing version of the package
    if Version(version, 4) > Version(control.get_software_version(), 4):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
        package_updated = True
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.set_software_version(version)
    control.save_control_to_wapt()

    # Validating update-package-sources
    return package_updated

    # # Changing version of the package and validating update-package-sources
    # return complete_control_version(control, version)

12b552a4650d7ea4714606f8403c84477d99901a509c776e7066dc4c30f6261e : VSCodiumSetup-x64-1.102.04606.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
bb2cfa394a2f42809092a27ba59bcfaed5556e25839b10c03cdafe0c0a641d06 : WAPT/changelog.txt
fb9df4fd5631ace5e3e8578d7b958a442500b0502ce17d4c06f55363b871800b : WAPT/control
9276eaee7406da4acedd4d7cae85a6cf041df867131323b231c24c65e223faae : WAPT/icon.png
c1f3caacbd137c8b2ba4ec769d10459d08bdf835b642ed89c2f1e3eb491c414a : luti.json
0f8fd02d5fd599e161a20fb5dc2c26096cd82ba380fb1c083265c11951ed120f : setup.py
9ca42d3adf222be8afcc296cba2e43bd571fffc537ac519c2b608245d5fa910e : update_package.py

https://github.com/VSCodium/vscodium/releases
1.71.0.22245
===
fix uninstallkey