
Simplenote
Silent install package for Simplenote
2.22.1-1
- package: tis-simplenote
- name: Simplenote
- version: 2.22.1-1
- maintainer: WAPT Team,Tranquil IT,Amel FRADJ
- licence: GPL-2.0 license
- target_os: windows
- architecture: x64
- signature_date:
- size: 102.32 Mo
- homepage : https://simplenote.com/
package : tis-simplenote
version : 2.22.1-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 : 0531fbd2-3883-4087-83bb-b6d4335d0123
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-11T11:53:21.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 : q/goNNR0w+Kc526PrFvE3y/xMxKtS26FkrMWXjVAUmK0zOoO1LLYeFEyPY1Q6gzjKmvGatmlzFsno4gODrbQDURqWdv8LyMFt8PwD0gXUr1epsJDWHRRQvMWn/JhLNi8Rgn0Z1jL6H6970PnwlffO+xzYry4IL5sfQT+0T/ppgVxtb7Vv3XrfTvf19zbQQ+hCm3QkOiLlRORG7X/AlxUDQtcd623BGP1OhlIUuTl6xhBHdawfrbMJ2k/dyll1O48L29+NpqkNJ90lhOOAB3ed0Lhi5Pn02UttPzE4U35SPkBQOcmBQuw3VBSr71bwMlPmjFJQmKY/OPZqPwp04mMQg==
# -*- 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()
0131a73371a1f70182266f5529e366e60d47b78c6f7b7068b8304b30c976bfd1 : Simplenote-win-2.22.1-x64.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
34a94afba123f3bc04986f2b62215f657a96cbe5ed0b9f83d0e6d4a06996e69a : WAPT/control
c080e3c4fee7c4c0def06957146f4c78d892d995ffbb9c5eb49e26a41dc0feb5 : WAPT/icon.png
025aab8bb58aaa106f0ddbb96e34bfe5d260d8dc8eaa043b5f3e65111562b5e8 : luti.json
754946f447b12b7cd51262266d7f92d0d397a38867241759ac8b75b58c7c1aa7 : setup.py
704f80816cec88c152b8085714e860c840355ed28a6c82726285ef7f97dca1f3 : update_package.py