tis-chromium

86.0.4210.0-31
Chromium Web Browser - Latest commit build from Google
443811 downloads
Download
default icon

  Description 

  • package : tis-chromium
  • version : 86.0.4210.0-31
  • architecture : x64
  • categories : Internet
  • maintainer : WAPT Team,Jimmy PELÉ,Amelie LE JEUNE,Alexandre GAUVRIT
  • description : Chromium Web Browser - Latest commit build from Google
  • locale :
  • target_os : windows
  • min_wapt_version : 1.7
  • sources : https://srvdev.ad.tranquil.it/sources/tis-chromium-wapt/trunk
  • installed_size : 407511040
  • impacted_process : chrome.exe
  • description_fr : Navigateur Web Chromium - version developpement par Google
  • description_pl :
  • description_de :
  • description_es :
  • description_pt :
  • description_it :
  • description_nl :
  • description_ru :
  • editor : Google
  • licence :
  • signature_date : 2020-07-22T09:31:53.915931
  • Homepage : https://www.chromium.org/getting-involved/download-chromium
  • Conflicts :

  Setup.py 

# -*- coding: UTF-8 -*-
from setuphelpers import *

uninstallkey = []

# Declaring specific app values (TO CHANGE)
bin_name_string = 'mini_installer_x64.exe'
silent_args = ' --system-level --do-not-launch-chrome /norestart /i'
silent_uninst_args = ' --force-uninstall'
app_uninstallkey = 'Chromium'


def install():
    # Specific app values
    package_version = control.version.split('-')[0]

    # Getting the used storage on programfiles before installation (place it on the top)
    get_disk_free_space_before = get_disk_free_space(programfiles)

    # Installing the package
    install_exe_if_needed(bin_name_string
        ,silentflags=silent_args
        ,key=app_uninstallkey
        ,min_version=package_version
        ,accept_returncodes=[0,19,21])

    uninstallkey.remove(app_uninstallkey)

    # Return used storage of the program. (place it on the bottom)
    get_disk_free_space_after = get_disk_free_space(programfiles)
    free_space_after_diff = get_disk_free_space_before - get_disk_free_space_after
    print("Storage used: " + str(free_space_after_diff))


def uninstall():
    soft = installed_softwares('Chromium')[0]

    if soft:
        killalltasks('Chromium')
        run(soft['uninstall_string'] + silent_uninst_args,accept_returncodes=[0,19,20,21])


def session_setup():
    print('Hide API missing message at startup')
    run('setx GOOGLE_API_KEY "no"')
    run('setx GOOGLE_DEFAULT_CLIENT_ID "no"')
    run('setx GOOGLE_DEFAULT_CLIENT_SECRET "no"')


def update_package():
    proxies = {}
    if isfile(makepath(application_data(),'waptconsole','waptconsole.ini')):
        proxywapt = inifile_readstring(makepath(user_local_appdata(),'waptconsole','waptconsole.ini'),'global','http_proxy')
        if proxywapt :
            proxies = {'http':proxywapt,'https':proxywapt}

    latest = wget("https://www.googleapis.com/download/storage/v1/b/chromium-browser-snapshots/o/Win_x64%2FLAST_CHANGE?alt=media",'latest.txt',proxies=proxies)
    latest_file = open(latest,'r')
    latest_commit = latest_file.read()

    for file_exe in glob.glob('*x64.exe'):
        remove_file(file_exe)
    #url sources : https://chromium.woolyss.com/download/fr/
    # 32bits bug : wget('https://storage.googleapis.com/chromium-browser-snapshots/Win/'+latest_commit+'/mini_installer.exe','mini_installer.exe')
    wget('https://storage.googleapis.com/chromium-browser-snapshots/Win_x64/'+latest_commit+'/mini_installer.exe','mini_installer_x64.exe',proxies=proxies)

    version_chromium = getproductprops('mini_installer_x64.exe')['version']

    control = PackageEntry().load_control_from_wapt('.')
    control.version = '%s-%s'%(version_chromium,int(control.version.split('-',1)[1])+1)
    control.save_control_to_wapt('.')

    latest_file.close()
    remove_file(r'latest.txt')


if __name__ == '__main__':
    update_package()


										

  Changelog 



No changelog.txt.
									
  manifest.sha256