tis-open-shell icon

Open-Shell-Menu

Paquet d’installation silencieuse pour Open-Shell-Menu

4.4.194-16

  • package: tis-open-shell
  • name: Open-Shell-Menu
  • version: 4.4.194-16
  • categories: Utilities
  • maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ
  • editor: The Open-Shell Team
  • licence: opensource_free,cpe:/a:mit:x11_license,wapt_public
  • locale: all
  • target_os: windows
  • impacted_process: StartMenu,ClassicExplorerSettings,ClassicIE_32,ClassicIE_64
  • architecture: all
  • signature_date:
  • size: 6.98 Mo
  • installed_size: 12.62 Mo
  • homepage : https://open-shell.github.io/Open-Shell-Menu/

package           : tis-open-shell
version           : 4.4.194-16
architecture      : all
section           : base
priority          : optional
name              : Open-Shell-Menu
categories        : Utilities
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ
description       : Open-Shell-Menu is the maintained fork of Classic Shell - Get the Classic Start Menu Back in Windows
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.3
sources           : https://github.com/Open-Shell/Open-Shell-Menu/releases/latest
installed_size    : 12620646
impacted_process  : StartMenu,ClassicExplorerSettings,ClassicIE_32,ClassicIE_64
description_fr    : Open-Shell-Menu est le fork maintenu de Classic Shell - Récupérer le menu de démarrage classique dans Windows
description_pl    : Open-Shell-Menu jest utrzymywanym widelcem Classic Shell - Odzyskaj klasyczne menu Start w systemie Windows
description_de    : Open-Shell-Menu ist die gepflegte Abspaltung von Classic Shell - Holen Sie sich das klassische Startmenü zurück in Windows
description_es    : Open-Shell-Menu es la bifurcación mantenida de Classic Shell - Recupera el menú de inicio clásico en Windows
description_pt    : Open-Shell-Menu é o garfo de manutenção da Concha Clássica - Obtenha o menu Iniciar Clássico de volta no Windows
description_it    : Open-Shell-Menu è il fork mantenuto di Classic Shell - Ripristinare il menu di avvio classico in Windows
description_nl    : Open-Shell-Menu is de onderhouden afsplitsing van Classic Shell - Breng het klassieke startmenu terug in Windows
description_ru    : Open-Shell-Menu - это поддерживаемый форк Classic Shell - Верните классическое меню "Пуск" в Windows
audit_schedule    : 
editor            : The Open-Shell Team
keywords          : open-shell-menu,openshellmenu,openshell,classic,shell,start,menu
licence           : opensource_free,cpe:/a:mit:x11_license,wapt_public
homepage          : https://open-shell.github.io/Open-Shell-Menu/
package_uuid      : f4830a84-65d3-468f-865a-ca95cecb32e1
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/Open-Shell/Open-Shell-Menu/releases
min_os_version    : 6.1
max_os_version    : 
icon_sha256sum    : 7bf119a4827496cc0ea492b9934f832ba0dda6f35c6873850fb766818f4cdf57
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-01-12T11:08:19.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         : oylInqfeE3OHx8/8dWv1aX8lHhpPMKfBoamSDch7oVfoFGe74c1y3Qd77sOVN4V9Wt47XVcFS3Vrf2thWzH+eEKL6lnak7niaZxg4FcfR3M2X8TWpHEO7d3TsgArwo6rOCl4qCz5/vdFwqI6seN6tVfkpOGlvNMotUg5BwYo/+mNYnHGephUkrNBBv60v6p0axN4715++dDxygrB656bDDdf7YS3I5wWlP8tBvgtbzCZ51js9utfMbcclXE/BPtwQRRDpowSrI2gPm6oh7i3A/4pZ2PcyqRtAAAWsSSdQbo2HWtsgiE5VAE2ElQ5jiSdy1zoyZw/AtSxKhK1HHV4Tw==

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


def install():
    bin_name = glob.glob("OpenShellSetup_*.exe")[0]
    install_exe_if_needed(
        bin_name,
        silentflags="/qn NOSTART=1 ADDLOCAL=StartMenu",  # ADDLOCAL=ClassicExplorer,StartMenu,ClassicIE
        name="Open-Shell",
        min_version=control.get_software_version(),
        timeout=600,
    )

    # Avoid Open-Shell displays following message after OS upgrade (https://github.com/Open-Shell/Open-Shell-Menu/wiki/OS-upgrade-without-user-interaction)
    run('"%s" -upgrade -silent' % makepath(programfiles, "Open-Shell", "StartMenu.exe"))


def session_setup():
    print("Disabling: automatic updates")
    registry_set(HKEY_CURRENT_USER, r"SOFTWARE\OpenShell\OpenShell\Settings", "Update", 0, type=REG_DWORD)

    if windows_version(2) == WindowsVersions.WindowsServer2012 or windows_version(2) == WindowsVersions.WindowsServer2012R2:
        print("Disabling: Windows 8.x Metro")
        registry_set(HKEY_CURRENT_USER, r"SOFTWARE\OpenShell\StartMenu\Settings", "DisableHotCorner", "DisableAll")
        registry_set(HKEY_CURRENT_USER, r"SOFTWARE\OpenShell\StartMenu\Settings", "SkipMetro", 1)

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


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/Open-Shell/Open-Shell-Menu/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))
    for to_download in json_load["assets"]:
        if ".exe" in to_download["name"]:
            download_url = to_download["browser_download_url"]
            version = json_load["tag_name"].split("-")[-1].replace("v", "")
            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)

    # Checking version from file
    version_from_file = get_version_from_binary(latest_bin)
    if Version(version_from_file, 4) != Version(version, 4) and version_from_file != "":
        print("Changing version to the version number of the binary")
        # os.rename(latest_bin, latest_bin.replace(version, version_from_file))
        version = version_from_file
    else:
        print("Binary file version 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()

    # Deleting outdated binaries
    remove_outdated_binaries(latest_bin)

    # Validating update-package-sources
    return package_updated

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

b8f6a5ccdd027f81f4102d02fb7d6187f5431558a9546ff2f6f6868970c36185 : OpenShellSetup_4_4_194.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
f12ba45005cb343ec2c9bea1488940eac8162680580e502ee8f8b16e4c54f246 : WAPT/control
7bf119a4827496cc0ea492b9934f832ba0dda6f35c6873850fb766818f4cdf57 : WAPT/icon.png
f3edc3581f3f16dfc9a4627523865442f6f7490c0f4d41db558a1c42e8109151 : luti.json
b26942f644d91dd2aa05327979c586ae9efc207b4b6df26faab99f9feca2ca7d : setup.py
b21c11b076b2f354902e981896675023357fc0d46082bc77c3b2d3c0172afd8e : update_package.py