tis-lm-studio icon

LM Studio

Silent install package for LM Studio

0.3.30-0
Development
Development

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

package           : tis-lm-studio
version           : 0.3.30-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      : bc94d71d-cf4c-4548-a3e5-f8ea7c8b16bd
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-14T00:07:47.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         : xGzpi2AJ/Qe2OMz5/F1QpvwxGIvfUKCEHJvt3OMmXbJeG1nsffvfKCUR8monrNngzq4rHnujlgb61/dqUaNIZYS8XpQI71ao14I1b2lP8AHXRhxMHhiR5onbTZW4HbjgEFdbXujPICHi8r5Yu1j11yBt1WI1X1zGtfVmEMDFxdMg3K+8pmjF53+la10dOXWni2TcOAFaGsHw1cS3TssC1xPyKplfLfnSw7Lz36GR/QeJhYe0IPufyBNhtQ7SvBwduDpCcvu64DZ4mTqtl5sz9EULH6XgSufpBya18If+Z3DvELm9cVdMygP3waOUeE3KyvLnGfZGTiNy/vVKEr/66Q==

# -*- 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
037510c93ff7e2e8f3de7acd20e46198d736c0cb5dd6306834dd71a9900a5639 : LM-Studio-0.3.30-1-x64.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
fcf698585a74391974f81ae658269b465c3150f75bd725ef1c415db780292392 : WAPT/control
2e42597e5bfb096509f57f47bb6a208900325c6d3d5d63b4b458efc13b1bdf4e : WAPT/icon.png
4bcf4c04adf151a3f1e7626cf8c860438cc109106d40f96096b5c2c9be0cbc32 : luti.json
2e7561993be6f2bd02c28ed566eb2ac9beaf9cb9d87a6df7b69289d0281558c3 : setup.py
9b6127c21c6c8e1bd53d09a97bfc282ce9f32371620225b3ca3a14204e456b40 : update_package.py