reopen Steam

This commit is contained in:
Dragoon Dorise 2025-02-15 11:28:57 +01:00
parent cbf1f8a99b
commit 57de96dee6

View File

@ -3,6 +3,7 @@ import sys
import vdf
import zlib
import shutil
import subprocess
def generate_preliminary_id(exe, appname):
"""
@ -157,6 +158,8 @@ def add_steam_shortcut(id, name, target_path, start_dir, icon_path, steam_dir, u
# Copiar imágenes usando el AppID
copy_steam_images(grid_path, id, appid)
subprocess.Popen(["steam", "-silent"], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
# Llamar a la función principal
add_steam_shortcut(