
Simplenote
Silent install package for Simplenote
2.22.2-1
- package: tis-simplenote
- name: Simplenote
- version: 2.22.2-1
- maintainer: WAPT Team,Tranquil IT,Amel FRADJ
- licence: GPL-2.0 license
- target_os: windows
- architecture: x86
- signature_date:
- size: 97.17 Mo
- homepage : https://simplenote.com/
package : tis-simplenote
version : 2.22.2-1
architecture : x86
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 : 46a76009-e722-42ee-becf-4a09e3239d90
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 : 2024-09-30T12:59:56.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 : iBSQJDmbmplTtDr9GahdroBFOQoh0qa4yxKStoYRipB/MgjMZeTLXYIoxPSl6bZScZaMEFRzPFPS8XPwuyHOFD5xa+79WK87vRjmnM/M+Y6m69ZK+RDNiiD2iHw7wUxMrqGxzOc5NxQzH1jUau06/26g26S/Z7P3XA/XWCH3H11aH+BB9xZxE35/gEkWRzOipsPkClIb1ehb9ZgtWg8Bc2VOBa9/39XpbgMbQylaCLQBkvucfq5HWI7vlzySf4zY7DO0cAv/nIppnIOXW5FcZ+4d18vGqxOipMN6iSBfjgl1Sw572V1cN+gQ+OrBJcu3aBxeZvy4FbPx0lbSYcN7Yg==
# -*- 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()
597898638e31ba07e79d10abf731aa9d15086c28fd7cdd614dc58c884c39efc7 : Simplenote-win-2.22.2-ia32.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
2af09b2198f5434a114f2facf7e4960f9819906af8e93185d3d3eb659a85f6d4 : WAPT/control
c080e3c4fee7c4c0def06957146f4c78d892d995ffbb9c5eb49e26a41dc0feb5 : WAPT/icon.png
c61babf9736d1448754daa1d7bd801a165393336b36a7198f1b035d7a77442a8 : luti.json
754946f447b12b7cd51262266d7f92d0d397a38867241759ac8b75b58c7c1aa7 : setup.py
704f80816cec88c152b8085714e860c840355ed28a6c82726285ef7f97dca1f3 : update_package.py