
- package: tis-seafile
- name: Seafile
- version: 7.0.10-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: all
- signature_date:
- size: 57.93 Mo
- installed_size: 216.99 Mo
- homepage : https://www.seafile.com/
package : tis-seafile
version : 7.0.10-8
architecture : all
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 : 57c1a2ea-3678-4bda-b615-a2c6b8f9940c
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 : tVkOmG/ACDoQHr3mI3wiDWn8RiTzp6fNcohR9Y4IxBPvWb5B+M3G0HxmxdifgjBNKqwYN559G1e6j/OHDwh4nIeBlHyjPLQrFkk3HNL5Q1oKe9C+Qs+6Q4P7c5OkjRVl80RULOxlbm8gLrk9fbDDF5IAKWP1NO1la5kevga/9sk0jzwQYMKAfY0KjqglyFhHvtRtwdqYPZRJPwUPnsX1d/xhDYoLucW5gRxU5cfPlfMPp0bOIscZH28qYaA7/Hs6rNqEFZW2fSbpQSeQ0A7fJeDz3uaIK7o/KR62Wx62iZw2AZkfewpdT6yn4/lta3LYkcMjMPT/s87nZbKGFrwnng==
signature_date : 2022-10-07T00:04:36.459827
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 *
# Declaring specific app values (TO CHANGE)
bin_name_string = "seafile-%s-en.msi"
def install():
# Specific app values
package_version = control.version.split("-")[0]
# 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():
import time
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)
a4ed94ace404f72ce3332f7febd00d1754b0e53d3986329cdec0614f8946417c : setup.py
045cb35d73a536c13e53cc6cd39a2af5b35f2c2e756fac1d7253ca25768f650d : update_package.py
ce80a4d7e8f8dc8fcefb671ebf020a2dd18f56a46c0c1a9095d1421324ff3f5a : seafile-7.0.10-en.msi
2fa8a089ab65b8b5746bf57908d847606256cde5d7da32929a132f18fb7df741 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
7b06a0f4298c8bd9319ec000b8c8c8cad32789e403900e2923107cc68bec13dc : luti.json
a7943dfbf84df7cd0caca6b1cfdb97030b63118edc84f2a71677e090b5f84642 : WAPT/control