
- package: tis-seafile
- name: Seafile
- version: 9.0.3-8
- categories: Office,Media
- maintainer: WAPT Team,Jimmy PELÉ,Hubert TOUVET,Amelie LE JEUNE
- editor: Seafile Ltd
- licence: GPL
- locale: all
- target_os: windows
- impacted_process: seafile-applet,seaf-daemon,shellext-fix
- architecture: x64
- signature_date:
- size: 93.76 Mo
- installed_size: 216.99 Mo
- homepage : https://www.seafile.com/
package : tis-seafile
version : 9.0.3-8
architecture : x64
section : base
priority : optional
name : Seafile
categories : Office,Media
maintainer : WAPT Team,Jimmy PELÉ,Hubert TOUVET,Amelie LE JEUNE
description : Windows client for cloud file storage Seafile
depends :
conflicts :
maturity : PROD
locale : all
target_os : windows
min_wapt_version : 2.0
sources : https://www.seafile.com/en/download/
installed_size : 216985600
impacted_process : seafile-applet,seaf-daemon,shellext-fix
description_fr : Client Windows pour les système de partage de fichiers Seafile
description_pl : Klient Windows do przechowywania plików w chmurze Seafile
description_de : Windows-Client für die Cloud-Dateispeicherung Seafile
description_es : Cliente de Windows para el almacenamiento de archivos en la nube Seafile
description_pt : Cliente Windows para armazenamento de ficheiros em nuvem Seafile
description_it : Client Windows per l'archiviazione di file nel cloud Seafile
description_nl : Windows client voor cloud bestandsopslag Seafile
description_ru : Клиент Windows для облачного хранилища файлов Seafile
audit_schedule :
editor : Seafile Ltd
keywords : sea,drive,file,seafile,cloud,file,storage,client
licence : GPL
homepage : https://www.seafile.com/
package_uuid : 908f94f6-8fec-4ac3-95dd-0cf44e9a834e
valid_from :
valid_until :
forced_install_on :
changelog : https://download.seafile.com/published/seafile-manual/changelog/client-changelog.md
min_os_version : 6.1
max_os_version :
icon_sha256sum : 2fa8a089ab65b8b5746bf57908d847606256cde5d7da32929a132f18fb7df741
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : bZJ1azIHe6joaj7t0Ef3Z2y6GeetC9a/Pw3AP/FqsRo/vWF6wmefgqfVGkK8SRXxQ2rs0+THUmGxv3DPCMojs7dmVS9qqzzaJ/1w8TI2JS/c0KubbZeofl/Mh8eQlHP8r8pLUJJmrMhehGKoBTEQ7k8g+Ucc17F6vX5eGTgRnBNzTE+dZpH6CqSgzn4o4iEuYgwgiRjO7ZhJq1SJMo/5zUjE2Imz1YqqCyVv9SUm0DojDe82opl/hNRbx4vukfXiWB1Ops7ecHZL1x9yhm/43RGi6gl3VpB0Kk2klwIclvNmPnUArgMPWJt/5pqcgJb7CRYPxcFrB+3SviwgOzPZOA==
signature_date : 2023-07-11T09:44:09.875173
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
# -*- coding: utf-8 -*-
from setuphelpers import *
import time
# Declaring specific app values (TO CHANGE)
bin_name_string = "seafile-%s-en.msi"
def install():
# Specific app values
package_version = control.version.split("-")[0]
#uninstall old version
for soft in installed_softwares('seafile'):
if Version(soft['version']) < Version(get_msi_properties(bin_name_string % package_version )['ProductVersion']):
uninstall()
# Installing the package
install_msi_if_needed(bin_name_string % package_version, min_version=package_version)
uninstallkey.remove(get_msi_properties("seafile-%s-en.msi" % package_version)["ProductCode"])
remove_desktop_shortcut("Seafile")
def uninstall():
try:
for seafile in installed_softwares("seafile"):
run(uninstall_cmd(seafile["key"]), timeout=20)
except:
killalltasks("seafile-applet.exe")
time.sleep(60)
if installed_softwares("seafile"):
error("Error: Seafile is not uninstalled")
def session_setup():
print("Session setup for %s" % control.asrequirement())
print("Configuring: auto update check, base options")
registry_setstring(HKEY_CURRENT_USER, r"Software\Seafile\Seafile Client\WinSparkle", "CheckForUpdates", "0")
registry_setstring(HKEY_CURRENT_USER, r"Software\Seafile\Seafile Client\Misc", "SparkleAlreadyEnableUpdateByDefault", "true")
registry_setstring(HKEY_CURRENT_USER, r"Software\Seafile", "ShellExtDisabled", "1")
registry_setstring(HKEY_CURRENT_USER, r"Software\Seafile\Seafile Client\Behavior", "hideMainWindowWhenStarted", "true")
registry_setstring(HKEY_CURRENT_USER, r"Software\Seafile\Seafile Client\Language", "current", "en")
# -*- coding: utf-8 -*-
from setuphelpers import *
# Declaring specific app values (TO CHANGE)
bin_name_string = "seafile-%s-en.msi"
def update_package():
print("Download/Update package content from upstream binary sources")
import requests
# Update transition from BeautifulSoup 3 to 4
import bs4 as BeautifulSoup
# Getting proxy informations from WAPT settings
proxy = {}
if isfile(makepath(application_data(), "waptconsole", "waptconsole.ini")):
proxywapt = inifile_readstring(makepath(user_local_appdata(), "waptconsole", "waptconsole.ini"), "global", "http_proxy")
if proxywapt:
proxy = {"http": proxywapt, "https": proxywapt}
# Specific app values
app_name = control.name
url = control.sources
# Getting latest version from official website
page = requests.get(url).text
bs = BeautifulSoup.BeautifulSoup(page)
# bs = BeautifulSoup.BeautifulSoup(page,features="html.parser") # For bs4 only
bs_raw_string = bs.find("a", {"class": "download-op"})
version = bs_raw_string.text
print(version)
url_dl = bs_raw_string["href"]
latest_bin = bin_name_string % version
print("Latest " + app_name + " version is: " + version)
print("Download url is: " + url_dl)
# Downloading latest binaries
if not isfile(latest_bin):
print("Downloading: " + latest_bin)
wget(url_dl, latest_bin, proxies=proxy)
# Changing version of the package
control.version = "%s-%s" % (version, int(control.version.split("-")[-1]) + 1)
control.save_control_to_wapt()
print("Changing version to: %s in WAPT\\control" % control.version)
# Deleting outdated binaries
remove_outdated_binaries(version)
b766ad2cde54b2a91471faf3a98f74be5eb36e4b56ff97e9bb6c8b930c184fd7 : setup.py
045cb35d73a536c13e53cc6cd39a2af5b35f2c2e756fac1d7253ca25768f650d : update_package.py
a076f236a1e6391391ac07f8e6ccb833bea73ad5f22e55a61f75d00adede112e : seafile-9.0.3-en.msi
2fa8a089ab65b8b5746bf57908d847606256cde5d7da32929a132f18fb7df741 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
af15c9fb65d18cf539b16ac3d842fcbac813280e4f74052c5f31a3449b9ddccd : luti.json
9d6e1d2e4d19bde865f40b15bcd5e7012cc6e667990905e7210f88bcb84593ce : WAPT/control