
- package: tis-vscodium
- name: VSCodium
- version: 1.77.3.23102-22
- categories: Development
- maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ
- editor: Microsoft
- licence: MIT
- locale: all
- target_os: windows
- impacted_process: VSCodium,codium
- architecture: x86
- signature_date:
- size: 78.99 Mo
- installed_size: 290.95 Mo
- homepage : https://vscodium.com/
package : tis-vscodium
version : 1.77.3.23102-22
architecture : x86
section : base
priority : optional
name : VSCodium
categories : Development
maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ
description : VSCode (Visual Studio Code) without Microsoft branding/telemetry/licensing
depends :
conflicts :
maturity : PROD
locale : all
target_os : windows
min_wapt_version : 2.0
sources : https://github.com/VSCodium/vscodium/releases
installed_size : 290951168
impacted_process : VSCodium,codium
description_fr : VSCode (Visual Studio Code) sans les outils de télémétrie, marquage et licence Microsoft
description_pl : VSCode (Visual Studio Code) bez marki Microsoft/telemetrii/licencji
description_de : VSCode (Visual Studio Code) ohne Microsoft Branding/Telemetrie/Lizenzierung
description_es : VSCode (Visual Studio Code) sin marca/telemetría/licencia de Microsoft
description_pt : VSCode (Visual Studio Code) sem marca/telemetria/licenciamento Microsoft
description_it : VSCode (Visual Studio Code) senza marchio/telemetria/licenza Microsoft
description_nl : VSCode (Visual Studio Code) zonder Microsoft branding/telemetrie/licenties
description_ru : VSCode (Visual Studio Code) без брендинга/телеметрии/лицензирования Microsoft
audit_schedule :
editor : Microsoft
keywords : code,editor,debugger,visual,studio,vs,vscodium,codium
licence : MIT
homepage : https://vscodium.com/
package_uuid : c71ad2b2-ad36-40f9-aa77-b14850484af9
valid_from :
valid_until :
forced_install_on :
changelog : https://code.visualstudio.com/updates
min_os_version : 6.2
max_os_version :
icon_sha256sum : 45485096724fd036f82e16bbf746a2673024fd9972e697a2e9aaffd625a7b666
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : DO9Ba9irLGFporytS0Dv0uLTE1u3+XOal+514N8qSu2xiyy82/gTLbkzZfqwSUoqc83dJRGgmKEGUXcWrTh5TRH+ZxqJA0xqsJqb6OroAPTAyTC5+gEni5tGFIWJZdkY2r7hB7S9ErI8voLkx8lv0ni8ZrlsURQep/cgZ45EEep7+TgmxkvC4ifH3J8rrIkjyiyoqvkAxkNMpA+bkLhTDhtMFfzOvkBkBK22sEwtbdICNikseo/XwsdfaVRFIUX3urd24d4T989ocs/dW82C/SC9CjsrHM7++ndFDeoFpowsJsAcAqUPTdzwISfWOWLXtufSdr8G1ecMr5B8EW5YPg==
signature_date : 2023-04-18T00:01:58.264508
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
"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()
# 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]
app_uninstallkey = "{763CBF88-25C6-4B10-952F-326AE657F16B}_is1"
# Uninstalling older versions of the software
for to_uninstall in installed_softwares("VSCodium"):
if Version(to_uninstall["version"]) < Version(package_version) or force:
print("Removing: %s (%s)" % (to_uninstall["name"], to_uninstall["version"]))
killalltasks(control.get_impacted_process_list())
run(uninstall_cmd(to_uninstall["key"]))
wait_uninstallkey_absent(to_uninstall["key"])
# Installing the software
print("Installing: %s" % bin_name)
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.showReleaseNotes": false,
"update.enableWindowsBackgroundUpdates": false,
"telemetry.enableCrashReporter": false,
"telemetry.enableTelemetry": false,
"typescript.surveys.enabled": false,
"extensions.autoCheckUpdates": true,
"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: 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 *
import json
bin_contains = "VSCodiumSetup-"
def update_package():
# Declaring local variables
result = False
proxies = get_proxies()
sub_bin_name = bin_contains + "-%s.exe"
if not proxies:
proxies = get_proxies_from_wapt_console()
app_name = control.name
git_repo = "VSCodium/vscodium"
api_url = "https://api.github.com/repos/%s/releases/latest" % git_repo
arch = "ia32-"
# Getting latest version information from official sources
print("API used is: %s" % api_url)
json_load = json.loads(wgets(api_url, proxies=proxies))
for download in json_load["assets"]:
if bin_contains in download["name"] and arch in download["name"] and download["name"].endswith(".exe"):
download_url = download["browser_download_url"]
version = json_load["tag_name"].replace("v", "")
latest_bin = download["name"]
break
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)
# Checking version from file
version_from_file = get_version_from_binary(latest_bin)
if version != version_from_file and version_from_file != "":
print("Changing version to the version number of the binary")
os.rename(latest_bin, sub_bin_name % version_from_file)
version = version_from_file
else:
print("Binary file version corresponds to online version")
# 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
aa4a72b0cd2ba5166beb9c6cc20d8569371e490bdd8c71a1584d6c6f0d47cc0a : setup.py
e47e202685149cdd67f9f9980efe8597736b9eb17e0bd7d9e341dd146cbfb9d4 : update_package.py
64b4d839ec82052ced98805fba5d73c21f6d6b32ba6dd5a86a23a96864c92ff9 : VSCodiumSetup-ia32-1.77.3.23102.exe
45485096724fd036f82e16bbf746a2673024fd9972e697a2e9aaffd625a7b666 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
bb2cfa394a2f42809092a27ba59bcfaed5556e25839b10c03cdafe0c0a641d06 : WAPT/changelog.txt
e20a3597ef099c347be12676ee6d4d0891544e0853b3da0af9002236a5208b0f : luti.json
5af008d5e471e9f04b763307b1f4c726783e1f411a4da1342a3477cbc7b1dfb6 : WAPT/control
https://code.visualstudio.com/updates
1.71.0.22245
===
fix uninstallkey