tis-lm-studio icon

LM Studio

Paquet d’installation silencieuse pour LM Studio

0.4.1-2
Development
Development

  • package: tis-lm-studio
  • name: LM Studio
  • version: 0.4.1-2
  • categories: Development
  • maintainer: WAPT Team,Bertrand Lemoigne
  • target_os: windows
  • impacted_process: LM Studio
  • architecture: arm64
  • signature_date:
  • size: 245.61 Mo

package           : tis-lm-studio
version           : 0.4.1-2
architecture      : arm64
section           : base
priority          : optional
name              : LM Studio
categories        : Development
maintainer        : WAPT Team,Bertrand Lemoigne
description       : LM Studio is a desktop app for developing and experimenting with LLMs locally on your computer.
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 2.5
sources           : 
installed_size    : 
impacted_process  : LM Studio
description_fr    : LM Studio est une application de bureau permettant de développer et d'expérimenter des modèles de langage (LLM) localement sur votre ordinateur.
description_pl    : LM Studio to aplikacja komputerowa do tworzenia i eksperymentowania z dużymi modelami językowymi (LLM) lokalnie na twoim komputerze.
description_de    : LM Studio ist eine Desktop-App zum Entwickeln und Experimentieren mit Sprachmodellen (LLMs) lokal auf Ihrem Computer.
description_es    : LM Studio es una aplicación de escritorio para desarrollar y experimentar con modelos de lenguaje (LLM) localmente en tu ordenador.
description_pt    : O LM Studio é um aplicativo de desktop para desenvolver e experimentar com modelos de linguagem (LLMs) localmente no seu computador.
description_it    : LM Studio è un'app desktop per sviluppare ed effettuare esperimenti con modelli linguistici (LLM) localmente sul tuo computer.
description_nl    : LM Studio is een desktopapp voor het ontwikkelen en experimenteren met taalmodellen (LLM's) lokaal op je computer.
description_ru    : LM Studio — это настольное приложение для разработки и экспериментов с языковыми моделями (LLM) локально на вашем компьютере.
audit_schedule    : 
editor            : 
keywords          : 
licence           : 
homepage          : 
package_uuid      : e0e2457f-159d-48b5-ad4b-fdb49cd7af41
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 2e42597e5bfb096509f57f47bb6a208900325c6d3d5d63b4b458efc13b1bdf4e
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2026-02-05T04:06:36.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         : S9SCnhCy3Xb4foEWuUuQFI6BrVwomr4oD99QNPTMeR30yNAjsbJ2t2MuLGo8gKknymz9/ycYRe/lPiLcWMFq+tZO+GW+ApICF2jlCTCKaa0VfKMdbVUN1HVeaMBjBjyDqOvNeWPCFhv54QQx/UCVQ4F6IhdXskXJrmzPKGzjRZRNDz30ze+4z0sGDVFt6j5+WMifvCaZGqnPe7yjyoHwETdtbaRTtUmjOnHFT5lEMlUhw8i3z/UnHDNSMHN2hp7IYsqou0b8+Om0wK1BA2b8x8bp0AeUwJLHNw6GwoUWb3KoH8e8M59IVvGii/wCzWGFacCD88BIoMPUNr9wc4i2mQ==

# -*- 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
    bin = glob.glob('LM-Studio*arm64.exe')[0]
    # Installing the software
    print(f"Installing: {bin}")
    install_exe_if_needed(
        bin,
        silentflags='/ALLUSERS /S',
        key='c6dbe996-22a9-5998-b542-7abe33da3b83',
        min_version=control.get_software_version()
    )



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


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
    
    base_url_download = "https://lmstudio.ai/download/latest"
    os_download_dict = {
        'windows-x64': '/win32/x64',
        'windows-arm64': '/win32/arm64',
        'darwin-arm': '/darwin/arm64',
        'linux-x64': '/linux/x64',
        'linux-arm64': '/linux/arm64',
    }

    os_type = control.target_os + "-" + ensure_list(control.architecture)[0]
    download_url = requests.head(f"{base_url_download}{os_download_dict[os_type]}", proxies=proxies).headers['Location']
    latest_bin = download_url.rsplit('/', 1)[-1]
    latest_bin_extension = latest_bin.rsplit('.', 1)[-1]
    version = latest_bin.split('-')[2]

    # 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}")

    # 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

76a1448d3ae9f1e24b186196430e6bee2592ff74e769fdba382e827fa7f68770 : LM-Studio-0.4.1-1-arm64.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
5c1802b5f2304c8f11ef39499a367e60fa9a222a5f3c96014ac6bc5c04ee95d6 : WAPT/control
2e42597e5bfb096509f57f47bb6a208900325c6d3d5d63b4b458efc13b1bdf4e : WAPT/icon.png
66439af44a5bcf8a5aca5e49d5d97cee0ce2d865e8634b37124fdbb60b0391ff : luti.json
1caa48e6830b644ba8bd82de0876697fa33b6e7f3a9e9745b6333fb345914aeb : setup.py
06e42799d5a15c10392b88ae8f39d1410d58a922ccc00228b25497c8d5fd0643 : update_package.py