tis-lunacy icon

Lunacy

Silent install package for Lunacy

11.5.0.0-1

  • package: tis-lunacy
  • name: Lunacy
  • version: 11.5.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: 55.45 Mo

package           : tis-lunacy
version           : 11.5.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      : 42727164-177f-4671-a990-466ff451832e
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-07-01T13:02:56.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         : kvLxOdNYaivwHszvrxc1N3RU+tyL2Nf1EOc7FlTHG7igr4l2F3wI/xpeNvrRCbpPmfa8jqLHCUmD744L3q1eH8nUE2s87yo61z2JIKzbbRy6lfeCWxAhaARmuyI2JP1NTgBAG/ToiUF21iEsD5yDROKWr0j6K68W22SiTWMwV8pgMhsww4YvgTtK7AxOKFnlOhL/oyfLwbCPxlJaXzFtfc7G8zaQCEE6cGrK+ssV2PlFj78GMvRI63yG1ryTTHXwQ9E8Yh/aGTAyD5s3KupVCu0XsFBamAahqVceGkGEw/83T7qI99cu9zz/1Wm0niXq63J3qh2jpQ5d/UxGZ+tWGg==

# -*- 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()    
        

bf1f71b78f1dd6ce7eda7f6dc29c406129ddd4bd1bae3fd8c5df09ee32f775f5 : LunacySetup.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
3d81023169d046234b508f088802c0316dabb91a71e9fb1064179c49cf043c2c : WAPT/control
69847e9f24eae334802fd81e1f06a957e5648ceb1cc5b5d2d6bdeefbc29650aa : WAPT/icon.png
25e4cf81dc003c460e2a6788be07bdcb6ee35b6041870cc344f9161819022002 : luti.json
8dc1293eb1d0f2aea0ab80ba33d22f1aa416fe032df23a2d384c3d164ae48001 : setup.py
2261639939302d3466c3d1590fc610bfdcc5e405a19213950811ea50c5e776d1 : update_package.py