tis-lm-studio

0.3.15-0
LM Studio is a desktop app for developing and experimenting with LLMs locally on your computer.
167 downloads
Download
See build result See VirusTotal scan
tis-lm-studio icon
  • package : tis-lm-studio
  • name : LM Studio
  • version : 0.3.15-0
  • categories : Development
  • maintainer : WAPT Team, Bertrand Lemoigne
  • editor :
  • licence :
  • locale :
  • target_os : windows
  • impacted_process : LM Studio
  • architecture : x64
  • signature_date : 2025-04-30 01:11
  • size : 485.41 Mo
package           : tis-lm-studio
version           : 0.3.15-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      : 3d4d9e95-3090-4ec2-a9b7-a5e37cc6e44a
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-04-30T01:11:23.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         : QseY1EOI13q51bhej09i5EfKsk4XI/3ElNF3qLPmwrEGq5hTB0tyNPGgMwoDAKLsdkBD/YsypyPqp1iRsTq9LwRQREsmKQ7IAY4ciJtkA0CQ+C3smozRzUfOARJoh41wf1L+IjUttW7LEEZT/fVO4R1yAwu1qMXocOSoWvDAgaLWMATip+bj9Jlcs63i09V7t1OM5EeaEYlhFxCnFLialhJDq6jCuLCli7gg1AJnAiL/8V2EdfB8+1ciAILIdXiWh0G+++/CGzCO0gbMQHxMSlwefDrFB6kGKEKJy1+F4XzaLipkDdcohgynDEYeLalR25Epy8ou3mRFX0bOkp+UYw==
# -*- 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
f3cffd57fdc73b6dac0b9b4eecbcfc03e510043e4becb63eaad534b9982bba50 : LM-Studio-0.3.15-10-x64.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
aa2a154c8d644642c18121bec95947c0201705562bd2a49d28c8dae80b39b966 : WAPT/control
2e42597e5bfb096509f57f47bb6a208900325c6d3d5d63b4b458efc13b1bdf4e : WAPT/icon.png
5fba4c7a3b4fac17643e3cdb62950052ab2a57c1949d53aa0414b768624636aa : luti.json
2e7561993be6f2bd02c28ed566eb2ac9beaf9cb9d87a6df7b69289d0281558c3 : setup.py
9b6127c21c6c8e1bd53d09a97bfc282ce9f32371620225b3ca3a14204e456b40 : update_package.py