tis-lm-studio icon

LM Studio

Silent install package for LM Studio

0.3.33-1
Development
Development

Preprod packages are packages built on LUTI. They remain in PREPROD usually for 5 days, after which a new VirusTotal scan is performed.
If the package passes this last check, it is promoted to PROD and published on the store.

  • package: tis-lm-studio
  • name: LM Studio
  • version: 0.3.33-1
  • categories: Development
  • maintainer: WAPT Team,Bertrand Lemoigne
  • target_os: windows
  • impacted_process: LM Studio
  • architecture: arm
  • signature_date:
  • size: 235.97 Mo

package           : tis-lm-studio
version           : 0.3.33-1
architecture      : arm
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          : PREPROD
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      : 4d4b0630-dd57-460e-b139-53f14911d6c3
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 2e42597e5bfb096509f57f47bb6a208900325c6d3d5d63b4b458efc13b1bdf4e
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2025-12-02T18:08:34.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         : oG+R7kujOftHaeP5lDwEw/XKvbwYhWQ+1F5F/PbEc5vxq9iKrp1saMNf5YDwfaBlLwM0uIeKJyCAQPn50mdYz6FXCbkYSVaG92R6PbEGtW6O90y0z9WvAuROxi+aUg157AiYWobBNybc/u/gimN7CpysErrVxGQ0G4D8bAZEgesXdZJevwhP21jpne/FFhYZ5rC/SnyxcVSsQ5qXLd7eLgWORt9fa9Qko5IM7gMxbWC12CPtB5LC4rQC5xba1NQJlIqtg7iX/P6yp6zPYTZkLtqtEYEjiPEH0cYQARHOIC0UFfFWjAA8ITBAOjI5LUTpJ0qD2ll7Wl8JXe4/LzcEhQ==

# -*- 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-arm': '/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

936ff3db7f04b97f8bb90e32f252e1392cf3ca962108caab5311cd26cb858847 : LM-Studio-0.3.33-1-arm64.exe
01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
d2e0c284dffa18a129ff0369acc6577144be5c2b9b1608cfbb6f71c92b749113 : WAPT/control
2e42597e5bfb096509f57f47bb6a208900325c6d3d5d63b4b458efc13b1bdf4e : WAPT/icon.png
c2675d639706a62f4a8cb04d827c998faa524ec5fd6fd47515dffe191d557cda : luti.json
1caa48e6830b644ba8bd82de0876697fa33b6e7f3a9e9745b6333fb345914aeb : setup.py
c39c9f0ccac2427f3fe84e003d773025fd751b2cdafb0c4e6ca9b714a84469ba : update_package.py