mirror of
https://github.com/FAUSheppy/homelab_gamevault
synced 2025-12-06 06:51:36 +01:00
fix: installer & lnk-runs
This commit is contained in:
@@ -53,7 +53,10 @@ def run_exe(path, synchronous=False):
|
||||
'''Launches a given software'''
|
||||
|
||||
if os.name != "nt":
|
||||
subprocess.Popen(["wine64", path], cwd=os.path.dirname(path))
|
||||
if ".lnk" in path:
|
||||
subprocess.Popen(["wine64", "start", path])
|
||||
else:
|
||||
subprocess.Popen(["wine64", path], cwd=os.path.dirname(path))
|
||||
return
|
||||
|
||||
if synchronous:
|
||||
|
||||
Reference in New Issue
Block a user