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: arm
  • signature_date:
  • size: 26.59 Mo
  • homepage : https://github.com/dail8859/NotepadNext

package           : tis-notepadnext
version           : 0.15-1
architecture      : arm
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      : 43b687b9-ffae-454f-9816-54cf61bf1c1e
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:31:51.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         : jZvPxtUvwYDMBkOh+FoV6G7M1zW3njWo014uEnDz0plPrMK1Q97Y6o5JRM3Qin5P2vPn9og+lDialEEADhOLdPeifsci+1Rr42ZQlkK7Gh9LiRXUn6OGxT+2IcD+sa9UpmWT8sFl074r5I573RLZX26ASe+zWZ+WUP6srLy0qWQwuruTguJm41XJtFB0cwrLzZxWqaWRmZH/P4irtfuB3Oc1AAWIDNmwsjvgctv/8jlrFx0MZgl945atx7W2Z13600lmlSu7tuAs9LWf4pdkYPj6MhUxCM1ciiJEKsjJZsX8SG66K2C0lsedpreikICw7G/wZOVCQ47xQ59V8f2o6Q==

# -*- 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

b3c950c8f9909014d3ed6479bd477baf1d97ac36efe6a30716580d7df32686e9 : NotepadNext-v0.15-arm64.dmg
01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
a907ad4983f99ff4a7ae7a49d0b80bfca61f76c9d18122791e9cf218bcfc8d38 : WAPT/control
4a310b55f8d8270b07236df09dfa7c437017f80f2a19488e7ce566722e59c662 : WAPT/icon.png
abd595a5b030bc4ce0330cfd1367ee7e15837959af4037800b8369a01b36d690 : luti.json
c8bd188857e83cac160f3939a89a1a5eefe8f7ae7bbd6e8db0d74588a4fbc0b4 : setup.py
6c9460779dd896a81d141756f18267f599f1e9ed58d66e8162a4621c7ab9702f : update_package.py