tis-notepadnext icon

NotepadNext

Silent install package for NotepadNext

0.15-1
Office
Development
Office
Development

Preprod packages are packages built on LUTI. They remain in PREPROD usually for 5 days, after which a second VirusTotal scan is performed to verify that the status has not changed.
If the package passes this last check, it is promoted to PROD and published on the store.

  • package: tis-notepadnext
  • name: NotepadNext
  • version: 0.15-1
  • categories: Office,Development
  • maintainer: WAPT Team,Tranquil IT,Jofrey Le Piquet,Stan SALOMON
  • editor: dail8859
  • licence: opensource, GPLv3
  • target_os: darwin
  • impacted_process: NotepadNext
  • architecture: x64
  • signature_date:
  • size: 26.75 Mo
  • homepage : https://github.com/dail8859/NotepadNext

package           : tis-notepadnext
version           : 0.15-1
architecture      : x64
section           : base
priority          : optional
name              : NotepadNext
categories        : Office,Development
maintainer        : WAPT Team,Tranquil IT,Jofrey Le Piquet,Stan SALOMON
description       : A cross-platform, reimplementation of Notepad++.
depends           : 
conflicts         : 
maturity          : PREPROD
locale            : 
target_os         : darwin
min_wapt_version  : 2.5
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            : dail8859
keywords          : notepadnext, notepad++,plus,cross-platform,text,editor
licence           : opensource, GPLv3
homepage          : https://github.com/dail8859/NotepadNext
package_uuid      : f957325a-ca79-4a52-88b0-d443603adfd9
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/dail8859/NotepadNext/releases
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 4a310b55f8d8270b07236df09dfa7c437017f80f2a19488e7ce566722e59c662
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2026-11-20T15:18:25.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         : hoYTLRxXd+dDVVm/JdiNWo+bzjhWYi/IsQwJGFt9iaOO7kITFvff/15vULGp5yqiOJLRu1jApLrTyf2/reQnqS0Phq0oNtHKKNTVHNMI9NrMiGlqgSKQPNPYFZ+Au4KUXXMA2ORS8vduRbMx4WovPHIk9ZkjHBy/h2ekaLT8WZgte0aN/6zBW3nVw6ItUMrf0T5irt+MO7ypZNTASEzrEZY86sEoKb8uR5WLuT1vmzcwuMk2q+vJqhVjKg6YzaTkMbTmeKQ7015ywg0cH7SAb63Di8JtXraDDS+kxqkcuJ+CNIH1Tj6K1ZUUskw/PWLLLe2r4Woge9YBh/Esf3JJAw==

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


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

    install_dmg(
        bin_name,
        min_version=control.get_software_version(),
    )

def uninstall():
    uninstall_app("NotepadNext")

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

def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name

    os_dict = {
        "windows-x64": "-Installer.exe",
        "windows-arm64": "-Installer-arm64.exe",
        "darwin-x64": "-x64.dmg",
        "darwin-arm": "-arm64.dmg",
        "linux-x64": "-x86_64.AppImage"
    }

    repo = "dail8859/NotepadNext"
    api_url = f"https://api.github.com/repos/{repo}/releases/latest"
    
    print("API used is: %s" % api_url)
    json_load = wgets(api_url, proxies=proxies, as_json=True)
    version = json_load["tag_name"].replace("v", "")

    os_type = control.target_os + "-" + ensure_list(control.architecture)[0]

    print(f"Latest {app_name} version is: {version}")

    for to_download in json_load["assets"]:
        if to_download["name"].endswith(os_dict[os_type]):
            download_url = to_download["browser_download_url"]
            latest_bin = to_download["name"]
            latest_bin_extension = latest_bin.rsplit('.', 1)[-1]
            break

    # Downloading latest binaries
    print(f"Download URL is: {download_url}")
    if isfile(latest_bin):
        remove_file(latest_bin)

    print(f"Downloading: {latest_bin}")
    wget(download_url, latest_bin, proxies=proxies)
    print(f"Binary is present: {latest_bin}")

    # Changing version of the package
    if Version(version) > Version(control.get_software_version()):
        print(f"Software version updated (from: {control.get_software_version()} to: {Version(version)})")
        package_updated = True
    else:
        print(f"Software version up-to-date ({Version(version)})")

    for f in glob.glob(f'*.{latest_bin_extension}'):
        if f != latest_bin:
            remove_file(f)

    control.set_software_version(version)
    control.save_control_to_wapt()

    return package_updated

406ce68884f80cd79c42fd779a0707401e81980c1614f3e5a572d0507ed644b4 : NotepadNext-v0.15-x64.dmg
01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
f3f9449e1044b720c816b3f225fc91ec305d86aaccac75672428ec2913960973 : WAPT/control
4a310b55f8d8270b07236df09dfa7c437017f80f2a19488e7ce566722e59c662 : WAPT/icon.png
a0053215a553c7fd08c472fab06d5c9cb6a194ae30e640e2b1cc2ba3593835ac : luti.json
c8bd188857e83cac160f3939a89a1a5eefe8f7ae7bbd6e8db0d74588a4fbc0b4 : setup.py
6c9460779dd896a81d141756f18267f599f1e9ed58d66e8162a4621c7ab9702f : update_package.py