tis-fbreader

0.12.10-2
FBReader is a popular multi-platform ebook reader.
678 downloads
Download
default icon

  Description 

  • package : tis-fbreader
  • version : 0.12.10-2
  • architecture : all
  • categories : Media
  • maintainer : Simon FONTENEAU, Tranquil IT
  • description : FBReader is a popular multi-platform ebook reader.
  • locale :
  • target_os :
  • min_wapt_version :
  • sources : https://github.com/geometer/FBReaderJ
  • installed_size :
  • impacted_process :
  • description_fr : FBReader est un lecteur de livres électroniques multiplateforme populaire.
  • description_pl : FBReader jest popularnym wieloplatformowym czytnikiem książek elektronicznych.
  • description_de : FBReader ist ein beliebter Multiplattform-E-Book-Reader.
  • description_es : FBReader es un popular lector de libros electrónicos multiplataforma.
  • description_pt :
  • description_it :
  • description_nl :
  • description_ru :
  • editor : Nikolay Pultsin
  • licence : GPLv2
  • signature_date : 2020-02-27T21:32:00.659966
  • Homepage : https://fbreader.org/

  Setup.py 

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

uninstallkey = ["FBReader for Windows"]

def install():
    print('installing fbreader')
    run(r'"FBReaderSetup-%s.exe" /S' % control['version'].split('-',1)[0])

    create_programs_menu_shortcut('FBReader', target=makepath(programfiles32,'FBReader','FBReader.exe'))


def update_package():

    import json

    proxies = {}
    if isfile(makepath(application_data(),'waptconsole','waptconsole.ini')):
        proxywapt = inifile_readstring(makepath(user_local_appdata(),'waptconsole','waptconsole.ini'),'global','http_proxy')
        if proxywapt :
            proxies = {'http':proxywapt,'https':proxywapt}

    lastversion = wgets('https://fbreader.org/win32',proxies=proxies).split('.exe')[0].split('FBReaderSetup-')[-1]
    print('Last Version %s' % lastversion)
    filename = "FBReaderSetup-%s.exe" % lastversion

    for exe in glob.glob('FBReaderSetup-*.exe') :
        if exe != filename:
            remove_file(exe)

    if not isfile(filename):
        wget('https://fbreader.org/files/win32/%s' % filename,filename,proxies=proxies)


    pe = PackageEntry()
    pe.load_control_from_wapt(os.getcwd())

    pe.version = lastversion + '-0'
    pe.save_control_to_wapt(os.getcwd())


										

  Changelog 



No changelog.txt.
									
  manifest.sha256