tis-notepadnext icon

NotepadNext

Paquet d’installation silencieuse pour NotepadNext

0.13-1
Media
Media

  • package: tis-notepadnext
  • name: NotepadNext
  • version: 0.13-1
  • categories: Media
  • maintainer: WAPT Team,Tranquil IT,Jofrey Le Piquet
  • target_os: windows
  • impacted_process: NotepadNext
  • architecture: x64
  • signature_date:
  • size: 11.36 Mo

package           : tis-notepadnext
version           : 0.13-1
architecture      : x64
section           : base
priority          : optional
name              : NotepadNext
categories        : Media
maintainer        : WAPT Team,Tranquil IT,Jofrey Le Piquet
description       : A cross-platform, reimplementation of Notepad++.
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 2.4
sources           : https://github.com/dail8859/NotepadNext/releases
installed_size    : 
impacted_process  : NotepadNext
description_fr    : Une réimplémentation multiplateforme de Notepad++.
description_pl    : Wieloplatformowa reimplementacja Notepad++.
description_de    : Eine plattformübergreifende Neuimplementierung von Notepad++.
description_es    : Una reimplementación multiplataforma de Notepad++.
description_pt    : Uma reimplementação multiplataforma do Notepad++.
description_it    : Una reimplementazione multipiattaforma di Notepad++.
description_nl    : Een cross-platform herimplementatie van Notepad++.
description_ru    : Кроссплатформенная реализация Notepad++.
audit_schedule    : 
editor            : 
keywords          : notepadnext
licence           : 
homepage          : 
package_uuid      : f1118de7-956d-4250-b971-48a027fecfbe
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/dail8859/NotepadNext/releases
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 4a310b55f8d8270b07236df09dfa7c437017f80f2a19488e7ce566722e59c662
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2026-02-07T08:09:59.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         : MkdMsZZyYfsi3ps13OCJC8OWXqXUuROx8SUGR637uNt7/JSvtghZoBHPG2zPmOO6idW9C9Mgy5AviRpzu58Yyn1WhOO1rzargiBNv6tCtRtPKZuOc/P4NBacELNUq9z4yTS9/54DL3oAwFqhh+ZQdLeBB6l6FD0xfzjIvd/9/++dDq/yVo4BxWRZzMk7U5XG0urqFTvZZ5vogfGsnE0n3x7ei+A7rErhMaDOB+W7exR4ADdPrOuK5jIaf4l3G0qJeX34PpcUVPtK6Uz7XZBfbkkCq2TVhTc3P4ICEFOsj0HNSTs+ty+Su+d36cAaJygN2X35c1g5qYv688R3jQI3dg==

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


def install():
    bin_name = glob.glob("NotepadNext*.exe")[0]

    # Installing the software
    install_exe_if_needed(
        bin_name,
        silentflags="/S /allusers",
        name="Notepad Next",
        min_version=control.get_software_version(),
    )

# -*- 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/dail8859/NotepadNext/releases/latest"
    download_dict = {
        "windows-x64": "-Installer.exe",
        "linux": "x86_64.AppImage",
        "macos-x64": ".dmg",
    }

    # 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"].replace("v", "")
    for to_download in json_load["assets"]:
        if download_dict[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)

    # 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

af497988a18497e97739e3c93857c0d403c237946be0419d4675c482d9032a5a : NotepadNext-v0.13-Installer.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
a8af992d82103cc91ffc71c27ab4051421bb9211c3193c76dc1ca148e4091f07 : WAPT/control
4a310b55f8d8270b07236df09dfa7c437017f80f2a19488e7ce566722e59c662 : WAPT/icon.png
f7a8cddfda679ca914bcaf33da3bcc79494b70776451957c114fa141e4058ef9 : luti.json
05039d59ca963fcd175d28d2c6b0d7cebee15ae1aeaf9e3924e5978757d2d32f : setup.py
9d7882598f1f715f326ac43fd2a15b4db58924ae6a8f4640d335c662dc7f8888 : update_package.py