Tranquil IT recrute Tranquil IT recrute

tis-syncthing

Version : 0.12.11-5

Download
  • package : tis-syncthing
  • editor :
  • version : 0.12.11-5
  • licence :
  • architecture : all
  • locale :
  • description : Clone opensource de de btsync syncthing. Synchronisation optimisée de répertoires entre machines.
  • description_fr :
  • min_os_version :
  • max_os_version :
  • min_wapt_version :
  • installed_size :
  • impacted_process :
  • signature_date : 20180227-190825
  • maintainer : Hubert TOUVET

setup.py

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

# registry key(s) where WAPT will find how to remove the application(s)
uninstallkey = []

destdir = makepath(programfiles,'syncthing')

def install():
    # if you want to modify the keys depending on environment (win32/win64... params..)
    print('Installing syncthing file synchronisation')
    run_notfatal('net stop Syncthing')
    mkdirs(destdir)
    if iswin64():
        copytree2('x64',destdir,onreplace=default_overwrite)
        nssm = os.path.join(WAPT.wapt_base_dir,'waptservice','win64','nssm.exe')
    else:
        copytree2('x86',destdir,onreplace=default_overwrite)
        nssm = os.path.join(WAPT.wapt_base_dir,'waptservice','win32','nssm.exe')

    print('Register Syncthing as service with nssm')
    run_notfatal('"%s" install Syncthing "%s" -no-console -no-browser' % (nssm, os.path.join(destdir,'syncthing.exe')))
    run_notfatal('net start Syncthing')

def uninstall():
    if iswin64():
        nssm = os.path.join(WAPT.wapt_base_dir,'waptservice','win64','nssm.exe')
    else:
        nssm = os.path.join(WAPT.wapt_base_dir,'waptservice','win32','nssm.exe')
    run_notfatal('net stop Syncthing')
    run_notfatal('"%s" remove Syncthing confirm' % nssm)
    if isdir(destdir):
        print('removing %s ...' % destdir)
        remove_tree(destdir)





			

Changelog

"""{% trans %}No changelog.{% endtrans %}"""
			

manifest.sha256

[["x86/AUTHORS.txt", "1a0aaf971fc38804b1fb513c6819734a43290ce19de7b0c4c311c04363c83d9e"], ["WAPT/certificate.crt", "79e5388683c0b6cb03f4f81e4e58e3a11463b2b6cf169dd9c453098027dcfaa4"], ["WAPT/wapt.psproj", "df0b280a4dff05ccc3b6185cf1dd39ac9a0aeca883450cc1836a4004baee2567"], ["x86/syncthing.exe", "f140474ab099ce9636c9cd8c39f4c94aeeb0753f5a05cbbabe1614a79d62d57f"], ["x64/AUTHORS.txt", "1a0aaf971fc38804b1fb513c6819734a43290ce19de7b0c4c311c04363c83d9e"], ["x86/LICENSE.txt", "6af301681fc6c32c6eacdfc9a6bc3b2e74baef152576ea0be42707f9803deb71"], ["x86/nssm.exe", "472232ca821b5c2ef562ab07f53638bc2cc82eae84cea13fbe674d6022b6481c"], ["x64/LICENSE.txt", "6687a9712ad99f4b55d8bcf175ca828502ac272f2c4145bcc4c166d9651b4c0a"], ["x86/README.txt", "358dea68af2dcb7bcfb8962ebb43b39902e28920c52d128a25b84a8fbef13118"], ["x64/README.txt", "358dea68af2dcb7bcfb8962ebb43b39902e28920c52d128a25b84a8fbef13118"], ["setup.py", "c638dd25d8dec144caa1bf4adf0f9e2257b178b1a947f0bef0ea424fb38f3fff"], ["x64/syncthing.exe", "2d30e37eb740a4997af7c8224cfa3232edca9931cb5ce706877432b8f2ca3337"], ["x64/nssm.exe", "f689ee9af94b00e9e3f0bb072b34caaf207f32dcb4f5782fc9ca351df9a06c97"], ["WAPT/control", "8cfa95bcb892b9512893c0e6eae836d62515b23b908f5ea8bf5d26451df05179"]]