tis-sqliteadmin

0.8.3.2-7
SQLite Administrator is a powerful tool if you easily want to create, design or administrate SQLite database files. The SQL code editor helps you to quickly write sql queries with features such as code completion and highlighting. Both major versions of SQLite database files are supported by SQLite Administrator.
2619 downloads
Download

  Description 

  • package : tis-sqliteadmin
  • version : 0.8.3.2-7
  • architecture : all
  • categories : Development
  • maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ,Hubert TOUVET
  • description : SQLite Administrator is a powerful tool if you easily want to create, design or administrate SQLite database files. The SQL code editor helps you to quickly write sql queries with features such as code completion and highlighting. Both major versions of SQLite database files are supported by SQLite Administrator.
  • locale : all
  • target_os : windows
  • min_os_version : 5.0
  • max_os_version :
  • min_wapt_version : 1.5
  • sources : http://download.orbmu2k.de/download.php?id=19
  • 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-06-29T12:31:51.580000
  • Homepage : http://sqliteadmin.orbmu2k.de/

  Setup.py 

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

uninstallkey = []

# Defining variables
bin_name_zip = 'sqliteadmin.zip'
url_dl = 'http://download.orbmu2k.de/files/sqliteadmin.zip'
app_name = 'SQLite Administrator'
app_name_dir = 'sqliteadmin'
app_dir = makepath(programfiles32,app_name_dir)
app_exe = 'sqliteadmin.exe'
app_path = makepath(app_dir,app_exe)
processes_to_kill = app_exe


def install():
    # Installing the package
    killalltasks(processes_to_kill)
    if isdir(app_dir):
        remove_tree(app_dir)
    unzip(bin_name_zip,target=makepath(programfiles32),filenames=r'%s\*' % app_name_dir)
    create_programs_menu_shortcut(app_name,app_path)
    remove_programs_menu_shortcut('SqliteAdmin')

def uninstall():
    # Uninstalling the package
    killalltasks(processes_to_kill)
    remove_tree(app_dir)
    remove_programs_menu_shortcut(app_name)


def update_package():
    print('Download/Update package content from upstream binary sources')

    # Getting proxy informations from WAPT settings
    proxy = {}
    if platform.system()=='Windows' and isfile(makepath(user_local_appdata(),'waptconsole','waptconsole.ini')):
        proxywapt = inifile_readstring(makepath(user_local_appdata(),'waptconsole','waptconsole.ini'),'global','http_proxy')
        if proxywapt :
            proxy = {'http':proxywapt,'https':proxywapt}

    # Initializing variables
    latest_bin = bin_name_zip
    version = control.version.split('-')[0]

    # Downloading latest binaries
    if isfile(latest_bin):
        remove_file(latest_bin)
    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)




										

  Changelog 


Changelog software url : http://sqliteadmin.orbmu2k.de/changelog.txt

No changelog
  manifest.sha256 
[["WAPT/icon.png","76a0b0b8c65febc87261de44d008f1f68854d22622dd6f986aba6f933f96aa4d"],["setup.py","40f10b845827a2468cdd741a35b144907deb59ca28e346f067a8fd932fc1b87a"],["WAPT/certificate.crt","a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf"],["sqliteadmin.zip","74b85bb6134a729aaa47f64d8cd6f1a7c1ca045adb2218b39b546961c6d0221f"],["WAPT/control","e261c17ee546f8300a6437cc44cd48e52b4bba82617035377af3af4f9804a2dd"]]