tis-cursor icon

Cursor

Paquet d’installation silencieuse pour Cursor

1.7.53-2
Development
Development

  • package: tis-cursor
  • name: Cursor
  • version: 1.7.53-2
  • categories: Development
  • maintainer: WAPT Team,Tranquil IT,Flavien SCHELFAUT
  • editor: Anysphere
  • locale: all
  • target_os: windows
  • impacted_process: Cursor
  • architecture: x64
  • signature_date:
  • size: 119.71 Mo
  • homepage : https://cursor.com/

package           : tis-cursor
version           : 1.7.53-2
architecture      : x64
section           : base
priority          : optional
name              : Cursor
categories        : Development
maintainer        : WAPT Team,Tranquil IT,Flavien SCHELFAUT
description       : Cursor is a modern IDE built on VS Code, integrating AI to generate, explain, and fix code. It boosts development speed with smart, context-aware assistance.
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.5
sources           : 
installed_size    : 
impacted_process  : Cursor
description_fr    : Cursor est un IDE moderne basé sur VS Code, intégrant une IA pour générer, expliquer et corriger le code. Il accélère le développement grâce à une assistance intelligente et contextuelle.
description_pl    : Cursor to nowoczesne IDE oparte na VS Code, integrujące sztuczną inteligencję do generowania, wyjaśniania i naprawiania kodu. Przyspiesza rozwój dzięki inteligentnej i kontekstowej pomocy.
description_de    : Cursor ist eine moderne IDE auf Basis von VS Code, die KI integriert, um Code zu generieren, zu erklären und zu korrigieren. Sie beschleunigt die Entwicklung durch intelligente, kontextbezogene Unterstützung.
description_es    : Cursor es un IDE moderno basado en VS Code que integra IA para generar, explicar y corregir código. Acelera el desarrollo con asistencia inteligente y contextual.
description_pt    : Cursor é um IDE moderno baseado no VS Code, integrando IA para gerar, explicar e corrigir código. Ele acelera o desenvolvimento com assistência inteligente e contextual.
description_it    : Cursor è un IDE moderno basato su VS Code che integra l'IA per generare, spiegare e correggere il codice. Accelera lo sviluppo grazie a un'assistenza intelligente e contestuale.
description_nl    : Cursor is een moderne IDE gebaseerd op VS Code, met geïntegreerde AI om code te genereren, uitleggen en corrigeren. Het versnelt de ontwikkeling met slimme, contextuele assistentie.
description_ru    : Cursor — это современная IDE на основе VS Code, интегрирующая ИИ для генерации, объяснения и исправления кода. Она ускоряет разработку благодаря умной и контекстной помощи.
audit_schedule    : 
editor            : Anysphere
keywords          : cursor,ide,integrated,development,environment
licence           : 
homepage          : https://cursor.com/
package_uuid      : 6eefd959-9533-4f47-be95-e8cf549f7b93
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://cursor.com/changelog
min_os_version    : 10
max_os_version    : 
icon_sha256sum    : 9cba6454810418fa31660e69ced09aa546f75bcfd3d873a4414f250694fa623c
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-10-26T04:03:00.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         : Hzx3hTFfSYQkJQBZ8mqk9EBwJlmlBOuVLrIbJpMZ8OIRPOKYPph8XeyHwyr+mHcweiYGZTLDXM0vf6aCnpGrYiKRJZhXBbOWzN8Z9Uic6tWt6b3N50Le2uUuTkl0eo1QzIwQpQVQVb4HFGQzxEU8iVtXmHYxxuZIFwKEY/en26zjd1btB/MnijG9Qhg4b924KrgSk5i+lva199IADv3bwQGpOgT5ke72BnaT2KRxDYwxzrcQw9CPlWHIY45/cKMi+4RKU7GmetIhLGr1U6h3+0BOEgpu37NznLLSynttp4L2ZmBKtQg1j7SJLLZobt1qtKX8jjU4tEqUu9VKkw9fTA==

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


def install():

    bin_name = glob.glob("CursorSetup-x64-*.exe")[0]

    # Uninstalling older version of the software that can remains
    for to_uninstall in installed_softwares(name="Cursor"):
      if Version(to_uninstall["version"]) < Version(control.get_software_version()):
        print(f"Removing: {to_uninstall['name']} ({to_uninstall['version']})")
        killalltasks(ensure_list(control.impacted_process))
        run(uninstall_cmd(to_uninstall["key"]))
        wait_uninstallkey_absent(to_uninstall["key"])

    install_exe_if_needed(
        bin_name,
        silentflags="/VERYSILENT",
        name="Cursor",
        min_version=control.get_software_version(),
    )

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


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

    os_dict = {
        'windows-x64': 'win32-x64',
        'windows-arm64': 'win32-arm64',
        'darwin-arm': 'darwin-arm64',
        'darwin-x64': 'darwin-x64',
        'linux-x64': 'linux-x64',
        'linux-arm64': 'linux-arm64',
    }

    os_type = control.target_os + "-" + ensure_list(control.architecture)[0]
    latest_version_api = f"https://api2.cursor.sh/updates/api/update/{os_dict[os_type]}/cursor/1.6.46/d98ca2ac6e4858851d5ea1c327187dbd1d8aeed3550bd8d4c73fffbaffb21a4b/stable"
    user_agent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Cursor/1.7.43 Chrome/132.0.6834.210 Electron/34.5.8 Safari/537.36"

    json_latest_version = wgets(latest_version_api, proxies=proxies, user_agent=user_agent, as_json=True)
    version, download_url = json_latest_version['version'], json_latest_version['url']
    latest_bin = download_url.rsplit('/', 1)[-1]
    latest_bin_extension = latest_bin.rsplit('.', 1)[-1]

    # Downloading latest binaries
    print(f"Latest {app_name} version is: {version}")
    print(f"Download URL is: {download_url}")
    if not isfile(latest_bin):
        print(f"Downloading: {latest_bin}")
        wget(download_url, latest_bin, proxies=proxies)
    else:
        print(f"Binary is present: {latest_bin}")

    expected_issuer = "Anysphere, Inc."
    sign_name = waptlicences.check_exe_signing_certificate(latest_bin)[0]
    if sign_name != expected_issuer:
        error(f'Bad issuer {sign_name} != {expected_issuer} ')

    # Changing version of the package
    if Version(version) > Version(control.get_software_version()):
        print(f"Software version updated (from: {control.get_software_version()} to: {Version(version)})")
        package_updated = True
    else:
        print(f"Software version up-to-date ({Version(version)})")

    for f in glob.glob(f'*.{latest_bin_extension}'):
        if f != latest_bin:
            remove_file(f)

    control.set_software_version(version)
    control.save_control_to_wapt()

    return package_updated

68af358c957538bacc33cce35cc8bd37fcb25347072fda869c7e57bb23fde580 : CursorSetup-x64-1.7.53.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
d798da7df0f75eff74e13643907c76eda1cddb85b48dbbc7e02f86451d54ccb7 : WAPT/control
9cba6454810418fa31660e69ced09aa546f75bcfd3d873a4414f250694fa623c : WAPT/icon.png
916cfa12cd46f75aaa6c644a60c66f459ad93ed98629c70f10b6b319db807ed4 : luti.json
3f4f4745c8c9d22d1c9aaf55d0777521d6a4586f33c92f6a64f863042051c96d : setup.py
690462a544e07328d5b74f5a77b101c4fb9397da2138b58056672dff9b665e56 : update_package.py