tis-lm-studio icon

LM Studio

Paquet d’installation silencieuse pour LM Studio

0.3.28-0
Development
Development

  • package: tis-lm-studio
  • name: LM Studio
  • version: 0.3.28-0
  • categories: Development
  • maintainer: WAPT Team, Bertrand Lemoigne
  • target_os: windows
  • impacted_process: LM Studio
  • architecture: x64
  • signature_date:
  • size: 548.28 Mo

package           : tis-lm-studio
version           : 0.3.28-0
architecture      : x64
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  : 
sources           : 
installed_size    : 
impacted_process  : LM Studio
description_fr    : 
description_pl    : 
description_de    : 
description_es    : 
description_pt    : 
description_it    : 
description_nl    : 
description_ru    : 
audit_schedule    : 
editor            : 
keywords          : 
licence           : 
homepage          : 
package_uuid      : ee047bd0-ba5b-4c0c-857d-13f9878c2620
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    : 2025-10-07T02:00:32.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         : r6tF7EFWc+nznWklZz+PTXQfzNhY+nnODuwwWR8y5k7Mqtq5kSkAZGkTY4gN2KOId75GA1/CturVDQ/JH2ManZc0rac2GmU456hRRDCWbRbUTxlWmSTiU/EgPKDgsvAc4GPFBHQStby6DhKBP84S+M+koxd7UlpUn9sxLqL5lxs/k4ltk55vsrWl/J86GrwXFU/5F19b3iPIm178rNC5UIDKMSNbVuhSRGxUW0pgkKlCz/71/wX700gYCneu6y/edyO2kDWGqmmkUabIKq6YLNNDN6FQvoqlinVqvZV79q/xF+ug5QWfx+8PpnU2GKbyQjoGnEsDgL8dnPaVll7g/g==

# -*- 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*.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()
    version = str(bs_find('https://lmstudio.ai','p','class','font-normal opacity-60',proxies=proxies)).split('<')[-2].split('>')[-1]
    bs_search = bs_find_all(r'https://lmstudio.ai','a','href',proxies=proxies)
    for s in bs_search:
        if '.exe' in str(s):
            download_url = str(s).split('"')[1]
    latest_bin = download_url.split("/")[-1]

    # Deleting binaries
    for f in glob.glob("*.exe") + glob.glob("*.msi"):
        print("Removing: %s" % f)
        remove_file(f)

    # Downloading latest binaries
    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)

    # Changing version of the package
    version = get_version_from_binary(latest_bin, "ProductVersion")
    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()

    # Validating or not update-package-sources
    return package_updated

55dce1eb0c05e997e5c33aec50c23bca1a566e46eb020ef7b24378f63f5aaaf8 : .gitignore
1397091fffd739d746b3fa1a6da3bb7b3502cf4177e9c660b9d074267093beb2 : LM-Studio-0.3.28-2-x64.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
a7bffc898654939b408cf7e32a6e7c78704cd5e03c6bc88fe2ae420a27bdc06d : WAPT/control
2e42597e5bfb096509f57f47bb6a208900325c6d3d5d63b4b458efc13b1bdf4e : WAPT/icon.png
5e742316753773414e5ad0c14bd6677fb9a036c34a9a63d5c6a5bccbde616542 : luti.json
2e7561993be6f2bd02c28ed566eb2ac9beaf9cb9d87a6df7b69289d0281558c3 : setup.py
9b6127c21c6c8e1bd53d09a97bfc282ce9f32371620225b3ca3a14204e456b40 : update_package.py