tis-camotics icon

CAMotics

Paquet d’installation silencieuse pour CAMotics

1.2.0-5

  • package: tis-camotics
  • name: CAMotics
  • version: 1.2.0-5
  • categories: Utilities
  • maintainer: WAPT Team,Tranquil IT,Kenan KILICARSLAN,Gaëtan SEGAT
  • editor: CauldronDevelopmentLLC
  • licence: GPL3
  • locale: all
  • target_os: windows
  • impacted_process: camotics
  • architecture: x64
  • signature_date:
  • size: 43.66 Mo
  • installed_size: 97.34 Mo
  • homepage : https://camotics.org/

package           : tis-camotics
version           : 1.2.0-5
architecture      : x64
section           : base
priority          : optional
name              : CAMotics
categories        : Utilities
maintainer        : WAPT Team,Tranquil IT,Kenan KILICARSLAN,Gaëtan SEGAT
description       : Camotics is an Open-Source Simulation & Computer Aided Machining - A 3-axis CNC GCode simulator
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.0
sources           : https://camotics.org/download.html
installed_size    : 97341440
impacted_process  : camotics
description_fr    : Camotics est un logiciel libre de simulation et d'usinage assisté par ordinateur - Un simulateur 3 axes CNC GCode
description_pl    : Camotics to symulator Open-Source i komputerowo wspomagana obróbka - 3-osiowy symulator CNC GCode
description_de    : Camotics ist eine Open-Source Simulation & Computer Aided Machining - Ein 3-Achsen CNC GCode Simulator
description_es    : Camotics es un simulador de simulación y mecanizado asistido por ordenador de código abierto - Un simulador de CNC GCode de 3 ejes
description_pt    : Camotics é uma simulação de código aberto e maquinação assistida por computador - um simulador de código GCode CNC de 3 eixos
description_it    : Camotics è un simulatore open source di simulazione e lavorazione assistita da computer - Un simulatore GCode di CNC a 3 assi
description_nl    : Camotics is een Open-Source Simulatie & Computer Aided Machining - Een 3-assige CNC GCode simulator
description_ru    : Camotics - это симулятор с открытым исходным кодом и автоматизированной обработки - 3-осевой симулятор ЧПУ GCode
audit_schedule    : 
editor            : CauldronDevelopmentLLC
keywords          : machining,simulate,robotics
licence           : GPL3
homepage          : https://camotics.org/
package_uuid      : d2942e7f-7457-488f-bfc9-8294b1fc17d6
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/CauldronDevelopmentLLC/CAMotics/blob/master/CHANGELOG.md
min_os_version    : 6.1
max_os_version    : 
icon_sha256sum    : d8d520dbade39bb1d0131769396a44166b8d2706dabc596c66ecfda71b6feb87
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : kHLtYZJrNpjJdEE+DYuTOiK6zZwdSWVrW0au8he5WryiqHC3RP1WycpdnltEY4LvyAT3FsjXp5mQKrHNl4rYRK06zMPqgZJ4mdKW21tYJq/trayM9aPk80Grm/gfgJmU3mRGIFS3Djd6LVRIGQ3CrsHCfKld+IuCbiOwEt++wvJkRx5+rO0BeZnM2F7/lI4t4yZCbgJd8zfzqls5y3hvcjg7MJ39oFfmMsPMpQI7/ver+0i/o8kSsq8YGP5bd2luUM+retzYY2k/LOE/+0YdQ+VtPyxQ1gJKjLducIlMmAfO+oPb4LDR7m5epA4tf4pBKdqJRqaapZaLDWP/n1PvSw==
signature_date    : 2022-07-27T04:11:24.054443
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

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


def install():
    package_version = control.get_software_version()
    install_exe_if_needed("camotics_%s_AMD64.exe" % package_version, silentflags="/S", key="CAMotics", min_version=package_version)

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

# Defining variables
bin_name_sub = "camotics_%s_AMD64.exe"
silent_args = "/S"
app_uninstallkey = "CAMotics"


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

    # Initializing variables
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
    repo_git = "CauldronDevelopmentLLC/CAMotics"
    url_api = "https://api.github.com/repos/%s/releases/latest" % repo_git

    # Getting latest informations from GitHub API
    json_load = json.loads(wgets(url_api, proxies=proxies))
    version = json_load["tag_name"]
    # If difference between git version and bin version
    version_git = version
    version = version.replace("-release", "")
    latest_bin = bin_name_sub % version

    url_dl = "https://github.com/%s/releases/download/%s/%s" % (repo_git, version_git, latest_bin)

    print("Latest " + app_name + " version is: " + version)
    print("Download url is: " + url_dl)

    # Downloading latest binaries
    if not isfile(latest_bin):
        print("Downloading: " + latest_bin)
        wget(url_dl, latest_bin, proxies=proxies)

        # Changing version of the package
        control.version = "%s-%s" % (version, control.version.split("-", 1)[-1])
        control.save_control_to_wapt()
        print("Changing package version to: %s in WAPT\\control" % control.version)
    else:
        print("This package is already up-to-date")

    # Deleting outdated binaries
    remove_outdated_binaries(version)

414b796b465a0009b4cdfa57961c4af30167762103012ef42730783e22057671 : setup.py
99fdabff58feb4d78c07a664e8bf0583323aa0825fb90ae9be8313cccc4664fd : update_package.py
1faebdbfa55a842949a103084294dfb11ea70610697e3846c9e058550d856652 : camotics_1.2.0_AMD64.exe
d8d520dbade39bb1d0131769396a44166b8d2706dabc596c66ecfda71b6feb87 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
9f26e19fbd907862c47609277fff27befc2dc28113a0b78559fe3728e653a1bb : luti.json
76ac75be8481f35eeb1060ed74c0e885df54748e1d2f617bd3676aa4c990a6f7 : WAPT/control