tis-syncthing

0.14.26-1
Clone opensource de de btsync syncthing. Synchronisation optimisée de répertoires entre machines.
1649 downloads
Download

  Description 

  • package : tis-syncthing
  • version : 0.14.26-1
  • architecture : all
  • categories :
  • maintainer : Hubert TOUVET
  • description : Clone opensource de de btsync syncthing. Synchronisation optimisée de répertoires entre machines.
  • locale :
  • target_os :
  • min_os_version :
  • max_os_version :
  • min_wapt_version :
  • sources : https://srvdev/sources/tis-syncthing-wapt/trunk
  • installed_size :
  • impacted_process :
  • description_fr :
  • description_pl :
  • description_de :
  • description_es :
  • description_pt :
  • description_it :
  • description_nl :
  • description_ru :
  • editor :
  • licence :
  • signature_date : 2020-02-27T21:41:58.933407

  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 


No changelog
  manifest.sha256 
[["x86/AUTHORS.txt","6346c8412038428dc352ffdb6f568830487ae5350e8f441a7f5d458aabad9b8d"],["WAPT/certificate.crt","a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf"],["WAPT/wapt.psproj","df0b280a4dff05ccc3b6185cf1dd39ac9a0aeca883450cc1836a4004baee2567"],["x86/syncthing.exe","55185312906123113f24a4c5928eeae864d2477c8dbfe23cfc9a1b7eaf8223d4"],["x64/AUTHORS.txt","6346c8412038428dc352ffdb6f568830487ae5350e8f441a7f5d458aabad9b8d"],["x86/LICENSE.txt","4f4f6eaba1a10842edd42f2788537ae7490d6d5c0ee35c75e695577c2f01d3ee"],["x86/nssm.exe","472232ca821b5c2ef562ab07f53638bc2cc82eae84cea13fbe674d6022b6481c"],["x64/LICENSE.txt","4f4f6eaba1a10842edd42f2788537ae7490d6d5c0ee35c75e695577c2f01d3ee"],["x86/README.txt","44f1a2e78b8665adced9348857876755747187d0f24b960bc4788a87ded69d19"],["x64/README.txt","44f1a2e78b8665adced9348857876755747187d0f24b960bc4788a87ded69d19"],["setup.py","c638dd25d8dec144caa1bf4adf0f9e2257b178b1a947f0bef0ea424fb38f3fff"],["x64/syncthing.exe","82e1c899537814cdc5d0b6ea5c48d4c69736d533ad9f4621108593d9bf7d1ec7"],["x64/nssm.exe","f689ee9af94b00e9e3f0bb072b34caaf207f32dcb4f5782fc9ca351df9a06c97"],["WAPT/control","0756586d8fdfc98c7184a0a7fa5d5307e59a8b0b87f0c484b42cace6e19f2dba"]]