tis-lunacy icon

Lunacy

Silent install package for Lunacy

11.3.0.0-1

  • package: tis-lunacy
  • name: Lunacy
  • version: 11.3.0.0-1
  • categories: Utilities
  • maintainer: WAPT Team,Tranquil IT,Amel FRADJ,
  • licence: proprietary_restricted,wapt_private
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 53.87 Mo

package           : tis-lunacy
version           : 11.3.0.0-1
architecture      : x64
section           : base
priority          : optional
name              : Lunacy
categories        : Utilities
maintainer        : WAPT Team,Tranquil IT,Amel FRADJ,
description       : Lunacy is a native Windows application that opens, modifies and stores .sketch files
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 2.3
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : Lunacy est une application Windows native qui ouvre, modifie et stocke les fichiers .sketch
description_pl    : Lunacy to natywna aplikacja Windows, która otwiera, modyfikuje i przechowuje pliki .sketch
description_de    : Lunacy ist eine native Windows-Anwendung, die .sketch-Dateien öffnet, bearbeitet und speichert
description_es    : Lunacy es una aplicación nativa de Windows que abre, modifica y almacena archivos .sketch
description_pt    : Lunacy é uma aplicação nativa do Windows que abre, modifica e armazena ficheiros .sketch
description_it    : Lunacy è un'applicazione nativa di Windows che apre, modifica e archivia i file .sketch
description_nl    : Lunacy is een native Windows-toepassing die .sketch-bestanden opent, wijzigt en opslaat
description_ru    : Lunacy - это приложение для Windows, которое открывает, изменяет и сохраняет файлы .sketch
audit_schedule    : 
editor            : 
keywords          : 
licence           : proprietary_restricted,wapt_private
homepage          : 
package_uuid      : 418cbec3-367b-4e29-9584-192955ddcc34
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 69847e9f24eae334802fd81e1f06a957e5648ceb1cc5b5d2d6bdeefbc29650aa
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-04-23T16:28:34.000000
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
signature         : HRJGDu4Lev29WHDjt0joWwhnWaPb8vdb8ventlKY39BCJ0YWEk5jujpBVQQCq49DqUV1sK3wQeqHJsBgYrggdxpGPcIafrozH4gRU//1Tskb4Ec8jvC5V46uBWQmgkhpwltVgXqMcRaXO+bFgU3qkfka9m/p0zy1bPhylJFwBDPIcv6cLH90fuLM5lj9YVDM6sprwzYhtcgOtDNTtyaBEhc/Nx+R4c15kbTlTv08HrDYrTryrdZSLrwiPAicU3a+X+LqTiot/MRW7f7BoQDW1nSPBotSB3YndsmCsYLEKEyA5rhEgBDsts/xTydZ/UIVWbnpM8hVFbMuctwmycgrSA==

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

r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()

"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls


def install():
    # Declaring local variables

    # Installing the software

    install_exe_if_needed(
        "LunacySetup.exe",
        silentflags="/VERYSILENT /NORESTART /SUPPRESSMSGBOXES /SP-",
        key="{029D8336-0D3A-4431-B685-416DD91AD2DD}_is1",
        min_version=control.get_software_version(),
    )


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



def update_package():
    # Declaring local variables
    package_updated = False
    
    proxies = get_proxies_from_wapt_console()
    if not proxies:
        proxies = get_proxies()

  
    
    download_url ="https://lcdn.icons8.com/setup/LunacySetup.exe"
    latest_bin = download_url.split("/")[-1]
    

    # Downloading latest binaries
    print("Download URL is: %s" % download_url)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)
        package_updated = True
    else:
        print("Binary is present: %s" % latest_bin)


    # Deleting outdated binaries
    for f in glob.glob('*.exe'):
        if f != latest_bin:
            remove_file(f)

           
    version = get_version_from_binary(latest_bin)
    # Mettre à jour le package
    control.set_software_version(version)
    control.save_control_to_wapt()    
        

c1a24b098161d996709ec5264c7a526c345205221092a5ce6626c66c8a6423b3 : LunacySetup.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
29ac5c114e3b4e028d150273c2f31f987610459325b1b94163da1990b132acaf : WAPT/control
69847e9f24eae334802fd81e1f06a957e5648ceb1cc5b5d2d6bdeefbc29650aa : WAPT/icon.png
37bf1349eb82dca1b90afc581145789f0bce20808e1dd734d44892abbe7c988a : luti.json
8dc1293eb1d0f2aea0ab80ba33d22f1aa416fe032df23a2d384c3d164ae48001 : setup.py
2261639939302d3466c3d1590fc610bfdcc5e405a19213950811ea50c5e776d1 : update_package.py