tis-atom

1.63.1-2
Atom is a free and open-source text and source code editor with support for plug-ins written in Node.js, and embedded Git Control
5902 downloads
Download
See build result See VirusTotal scan
tis-atom icon
  • package : tis-atom
  • name : Atom
  • version : 1.63.1-2
  • categories : Development
  • maintainer : WAPT Team,Jimmy PELÉ,Pierre Cosson
  • editor : atom,text,source,code,editor,node.js,node,js,git,control
  • licence : MIT
  • locale : all
  • target_os : windows
  • impacted_process : atom.exe,Squirrel.exe
  • architecture : x64
  • signature_date : 2022-11-28 10:00
  • size : 209.19 Mo
  • installed_size : 703.96 Mo
  • homepage : https://atom.io/
package           : tis-atom
version           : 1.63.1-2
architecture      : x64
section           : base
priority          : optional
name              : Atom
categories        : Development
maintainer        : WAPT Team,Jimmy PELÉ,Pierre Cosson
description       : Atom is a free and open-source text and source code editor with support for plug-ins written in Node.js, and embedded Git Control
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 1.5
sources           : https://github.com/atom/atom/releases/latest
installed_size    : 703959040
impacted_process  : atom.exe,Squirrel.exe
description_fr    : Atom est un éditeur de texte libre. Il supporte des plug-ins écrits en Node.js et implémente Git Control. Il est utilisé en tant qu’environnement de développement (EDI)
description_pl    : Atom to darmowy i open-source'owy edytor tekstu i kodu źródłowego z obsługą wtyczek napisanych w Node.js, oraz wbudowaną kontrolą Git
description_de    : Atom ist ein freier und quelloffener Text- und Quellcode-Editor mit Unterstützung für in Node.js geschriebene Plug-ins und eingebetteter Git-Kontrolle
description_es    : Atom es un editor de texto y código fuente gratuito y de código abierto con soporte para plug-ins escritos en Node.js, y control Git incrustado
description_pt    : Atom é um editor de texto e código fonte livre e de código aberto com suporte para plug-ins escritos em Node.js, e Git Control incorporado
description_it    : Atom è un editor di testo e codice sorgente gratuito e open-source con supporto per plug-in scritti in Node.js e controllo Git incorporato
description_nl    : Atom is een gratis en open-source tekst- en broncode-editor met ondersteuning voor plug-ins geschreven in Node.js, en ingebedde Git Controle
description_ru    : Atom - это бесплатный редактор текста и исходного кода с открытым исходным кодом, поддерживающий плагины, написанные на Node.js, и встроенный Git Control
audit_schedule    : 
editor            : atom,text,source,code,editor,node.js,node,js,git,control
keywords          : 
licence           : MIT
homepage          : https://atom.io/
package_uuid      : eee01b1a-4f7c-4913-a9b7-fe62986413e2
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 6.1
max_os_version    : 
icon_sha256sum    : b31d62ffdb710826d1537bb9e0b2ee62c38b8b6a11089b0871558e916f92e176
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : t3ZJbBTmGNlkBu1uzHsPdoPFqgbWy7hVs8T9CFlp0Ot4ijylyMqPeAwpFVMKbMmarZYvy7RQbQPvuOggFy9tPVnqUjurWD5PtJ3erpRtVAYfHmOxo2kkXn1NtuxechrgqjEfVGxVbfZ/T5/7wrJoPQ3cdj6SlW4X0sqfXGXm3Cmr9SsMN/OjXXIqk+AwH6U5S60/mTVSD8MUNXLgLQ86CdA7nTt7wD96xgff3M5h4xrEqZff8aekXkoTIgGnA900n9b/3JQypWU6CImf7xOJSbJdDf0l2EuD3Ly1ay1j4ax85it736BidcP4s4hbltE0UIJBsGYuOE8yOUhrKGx8qg==
signature_date    : 2022-11-28T10:00:33.167469
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 *

# Declaring specific app values (TO CHANGE)
bin_name_zip_string = "atom-%s-windows.zip"
app_name = "Atom"
app_name_dir = "Atom x64"
app_dir = makepath(programfiles32, app_name_dir)
app_exe = "atom.exe"
app_path = makepath(app_dir, app_exe)


def install():
    # Specific app values
    package_version = control.get_software_version()

    # Installing the package
    killalltasks(app_exe)
    if isdir(app_dir):
        remove_tree(app_dir)
    unzip((bin_name_zip_string % package_version), target=makepath(programfiles32), filenames=r"%s\*" % app_name_dir)
    create_programs_menu_shortcut(app_name, app_path)


def uninstall():
    import time

    # Uninstalling the package
    killalltasks(app_exe)
    time.sleep(5)
    remove_tree(app_dir)
    remove_programs_menu_shortcut(app_name)


def session_setup():
    print("Uninstalling Atom on user environnement if detected")

    app_user_env = makepath(user_local_appdata, "atom")

    killalltasks(app_exe)
    if isdir(app_user_env):
        remove_tree(app_user_env)
# -*- coding: utf-8 -*-
from setuphelpers import *
import json


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
    api_url = "https://api.github.com/repos/atom/atom/releases/latest"
    if control.architecture == "x64":
        arch_contains = "x64-windows.zip"
    else:
        arch_contains = "atom-windows.zip"
    # Getting latest version information from official sources
    print("API used is: %s" % api_url)
    json_load = json.loads(wgets(api_url, proxies=proxies))
    for download in json_load["assets"]:
        if arch_contains in download["name"]:
            download_url = download["browser_download_url"]
            version = json_load["tag_name"].split("-")[-1].replace("v", "")
            latest_bin = download["name"]
            break
    # Downloading latest binaries
    print("Latest %s version is: %s" % (app_name, version))
    print("Download URL is: %s" % download_url)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)
    else:
        print("Binary is present: %s" % latest_bin)
    os.rename(latest_bin, "atom-%s-windows.zip" % version)
    # Changing version of the package
    if Version(version) > Version(control.get_software_version()):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
        package_updated = True
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.set_software_version(version)
    control.save_control_to_wapt()
    # Deleting outdated binaries
    remove_outdated_binaries(version)
    # Validating update-package-sources
    return package_updated
9fb58f3bdcd3430134c7a319f578d590c75d193920890d1843e30160e01f24a8 : setup.py
6b7fd7f3db7af1f930f7d5235f4d54a847e6f3ee093673c5a2df86db2a3c0fb3 : update_package.py
3e5c2b3c9c249ed76b6fbdd0b054567da36181ed39a8fc1d1c2c93f5f8383397 : atom-1.63.1-windows.zip
b31d62ffdb710826d1537bb9e0b2ee62c38b8b6a11089b0871558e916f92e176 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
40fe2bd38979d2205c8b91346e064cad1ca345ba832bb26906975d0195ab905c : luti.json
a1ada534d477f24448acfa5c97f592c9a154cbad0ea107ed317f11be1b9f3dea : WAPT/control