- package: tis-notepadnext
- name: NotepadNext
- version: 0.12-1
- categories: Media
- maintainer: WAPT Team,Tranquil IT,Jofrey Le Piquet
- target_os: macos
- impacted_process: NotepadNext
- architecture: x64
- signature_date:
- size: 29.42 Mo
package : tis-notepadnext
version : 0.12-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 : macos
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 : 67bc2bcb-b5f7-4dd7-8d40-128a7cd310e2
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 : 2025-06-30T12:12:24.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 : cmZX0VFzTzDt69h5tqfEFxA8HufH1XlzNrmpuwlYiOkiCrmm4zeoB0tyhrn77ytlpN3ZylSYr8xevEUiRyjDTz5ae3fPMqilMA9pW2nh7k71mfZXG7hNOHbFMU4KzB7oZSMNbl+2QfhzAQRlbxxXkk76oFLdG+LrnF6yIs4v89xKPMP4zgB/Mrp7by1GuXOohr0MxqyvLLUe8DkP1Smd4TfPScblOy1Hwnfe/cEkFjrJ7eqdcS0mlk1joArhC13xOVbSXQZ3H6R4CcHy/SpQEAc/LHzb6kzMRStbzmuFlKISKLRcHxJuqv0SvEDzTcZLxVvYP99GdW0hA4FTZzTK4Q==
# -*- 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 *
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
fee630030112da083be81628750c1da3d0b9ac85f070dc2c14b119af19c3822c : NotepadNext-v0.12.dmg
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
feb0776e1c1b9b9cdec2d117dd823f138a3cac0f2cd09892a2641716d5a4e760 : WAPT/control
4a310b55f8d8270b07236df09dfa7c437017f80f2a19488e7ce566722e59c662 : WAPT/icon.png
780800cff06701d0bb59e9d39a1695a40c773dcc8a0aedf6ccbc7899a6aedf58 : luti.json
0c227512c4e2af164d59e06b01da4709b947049b58a111f0724684034f2a951a : setup.py
9d7882598f1f715f326ac43fd2a15b4db58924ae6a8f4640d335c662dc7f8888 : update_package.py