tis-simplenote icon

Simplenote

Silent install package for Simplenote

2.23.2-1

  • package: tis-simplenote
  • name: Simplenote
  • version: 2.23.2-1
  • maintainer: WAPT Team,Tranquil IT,Amel FRADJ
  • licence: GPL-2.0 license
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 107.97 Mo
  • homepage : https://simplenote.com/

package           : tis-simplenote
version           : 2.23.2-1
architecture      : x64
section           : base
priority          : optional
name              : Simplenote
categories        : 
maintainer        : WAPT Team,Tranquil IT,Amel FRADJ
description       : Light, clean and free. Simplenote
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : Léger, propre et gratuit. Simplenote
description_pl    : Lekki, czysty i darmowy. Simplenote
description_de    : Leicht, sauber und kostenlos. Simplenote
description_es    : Ligero, limpio y gratuito. Simplenote
description_pt    : Leve, limpo e gratuito. Simplenote
description_it    : Leggero, pulito e gratuito. Simplenote
description_nl    : Licht, schoon en gratis. Simplenote
description_ru    : Легкий, чистый и бесплатный. Simplenote
audit_schedule    : 
editor            : 
keywords          : 
licence           : GPL-2.0 license
homepage          : https://simplenote.com/
package_uuid      : e7e9b743-2a6d-4f10-a63d-139e658af078
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : c080e3c4fee7c4c0def06957146f4c78d892d995ffbb9c5eb49e26a41dc0feb5
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-03-16T09:10:13.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         : NTKTQxxgUoFuCsKoFo5TrnlC9UifGPflvgkPWfbFYfAlDpQ89EL3wM8rdguSqK6Avbj6eKT+APxmbhlgAuHpNSQCS0tVACM6BLOHvKVinLd2BfH5p/dRS0Zr7WrAJUTBcxugmyapibDuS9yiwwdnKYCP6+DEjQEig1/Ln5zkdeTPASxKyDlUCKCmeLyagQZowUBI7WHyCM5V21pMUCnoDvJSewXEt0JMqZnZ7xUuJDuGXmwTTQ998Ky0z5uSer4ISdhNixBj+5hiuUehL9oHTGA+11feK44ORzs4/mAejA2psaPl3Frg1Ic3VjUdLHA0ZGI7V8N/K3Ut9PSGuuOzog==

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

r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()

"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls


def install():
    # Declaring local variables
    bin_name = glob.glob('Simplenote-*.exe')[0]
    # Installing the software
    
    install_exe_if_needed(bin_name,
        silentflags='/S /nolaunch /allusers',
        key='150392e9-d39c-5b1e-8397-b73667931335',
        min_version=control.get_software_version()

    )



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

# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls


def update_package():
    result = False
    proxies = get_proxies()

    if not proxies:
        proxies = get_proxies_from_wapt_console()
    dict_arch = {
        "x64" :"-x64.exe",
        "x86" : "-ia32.exe"
    }
    git_repo = "Automattic/simplenote-electron"
    url_api = "https://api.github.com/repos/%s/releases/latest" % git_repo   
    # Getting latest version information from official sources
    print("API used is: %s" % url_api)
    json_load = json.loads(wgets(url_api, proxies=proxies))

    for download in json_load["assets"]:
        if download["browser_download_url"].endswith('.exe') and dict_arch[control.architecture]  in download["browser_download_url"]:
            url_dl = download["browser_download_url"]
            version = json_load["name"].split(" ")[-1]
            filename = download["name"]
            break

    if not isfile(filename):
        package_updated = True
        wget(url_dl,filename,proxies=proxies)

    #nettoyer les fichiers temporaires
    for f in glob.glob('*.exe'):
        if f != filename:
            remove_file(f)

   
    control.set_software_version(version)
    control.save_control_to_wapt()

267607d6aab121cc6047afc8915c0e7f0c944a3ee9284924b53f158b988b1423 : Simplenote-win-2.23.2-x64.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
94ebf39b105de1f6b4638608639a820569eb54ea5c01830aa72432cf08590674 : WAPT/control
c080e3c4fee7c4c0def06957146f4c78d892d995ffbb9c5eb49e26a41dc0feb5 : WAPT/icon.png
7b524fa3675b728c6dee6ae884cdb51001618316685b51ff2ff860edab27ef8f : luti.json
754946f447b12b7cd51262266d7f92d0d397a38867241759ac8b75b58c7c1aa7 : setup.py
704f80816cec88c152b8085714e860c840355ed28a6c82726285ef7f97dca1f3 : update_package.py