
- package: tis-vscodium
- name: VSCodium
- version: 1.70.2.22230-42
- categories: Development
- maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ
- licence: opensource_free,cpe:/a:mit:x11_license,wapt_public
- locale: all
- target_os: windows
- impacted_process: VSCodium
- architecture: x64
- signature_date:
- size: 84.54 Mo
- installed_size: 322.42 Mo
- homepage : https://vscodium.com/
package : tis-vscodium
version : 1.70.2.22230-42
architecture : x64
section : base
priority : optional
name : VSCodium
categories : Development
maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ
description : Last release supporting Windows 7
depends :
conflicts :
maturity : PROD
locale : all
target_os : windows
min_wapt_version : 2.3
sources : https://github.com/VSCodium/vscodium/releases
installed_size : 322420384
impacted_process : VSCodium
description_fr :
description_pl :
description_de :
description_es :
description_pt :
description_it :
description_nl :
description_ru :
audit_schedule :
editor :
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 : 4c919ffd-4405-4440-ada0-a36f0594e4f0
valid_from :
valid_until :
forced_install_on :
changelog : https://github.com/VSCodium/vscodium/releases
min_os_version : 6.1
max_os_version : 10.0
icon_sha256sum : 45485096724fd036f82e16bbf746a2673024fd9972e697a2e9aaffd625a7b666
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : gUWr7LxcCjqydjisybS1Calro1lyGF1zDBEbGwlRjILm0mRz5OIYqe5Ki+IP5v/b1krjCIyeWmzk6vT9PxO6XihpxTH8JTHSevc7TjP5xYIQDdAPDNk+0lx/H53caQeL8sRVczAC64zCqvbBJzSzI9KXIpqvf3LkgBA9W+csySznJdSgovWavneK00TU0yfNXyZVyeGwT/x8i3NAanSs77fWNsKIpZo0SQwlTQOg5qb2R+pRKZ3LN8XW/xrYmge2N+QW1MWwqgIvjCaDlGJGNWsWmVNg3BWr1NkCBKIRrr599PcVj6aeliAOc5zAt2MQNIUDPdqJHiXJHawVD6IFbQ==
signature_date : 2024-04-07T17:00:49.773456
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
# -*- coding: utf-8 -*-
from setuphelpers import *
import json
"""
# 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 = "{D77B7E06-80BA-4137-BCF4-654B95CCEBC5}_is1"
else:
app_uninstallkey = "{763CBF88-25C6-4B10-952F-326AE657F16B}_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\Code\User\settings.json
# Declaring local variables
user_conf_dir = makepath(user_appdata, "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,
"terminal.integrated.shellIntegration.enabled": 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?page=2"
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)
dict_result = wgets(api_url, proxies=proxies, as_json=True)
for tag in dict_result:
if tag["tag_name"].startswith("1.70"):
print("Tag URL used is: %s" % tag["html_url"])
for to_download in tag["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"]
version = tag["tag_name"]
latest_bin = to_download["name"]
break
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("INFO: Binary file version corresponds to online version")
else:
error("ERROR: Binary file version do NOT corresponds to online 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)
6a47ed0e114e0babbcdbe7cd1c974049d0ca7c92bf10a90077f0bff90f7e6f23 : setup.py
805aa9bb2e079d52c71a31e3f6f10eb6933b524bdb1e23086224dfa35a20dee0 : update_package.py
45485096724fd036f82e16bbf746a2673024fd9972e697a2e9aaffd625a7b666 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
bb2cfa394a2f42809092a27ba59bcfaed5556e25839b10c03cdafe0c0a641d06 : WAPT/changelog.txt
2c25703f1028f1dd5c05792a5cdfcfd6284a4f6eb43c02d849ac909f0db1a91f : luti.json
b193bb38e22f654680816f61817e9fd1b6a44528d0f00d45e2ceae2f7e1720ee : VSCodiumSetup-x64-1.70.2.22230.exe
6e12a99fbd6fd333ae177ae82c1156ca4e6352d8ad6a97bf2fa232db53459c6c : WAPT/control
https://github.com/VSCodium/vscodium/releases
1.71.0.22245
===
fix uninstallkey