chage fastlis.exe location to not conflict with linux build

This commit is contained in:
Zamitto 2024-04-26 00:22:28 -03:00
parent 2d88427c87
commit 42be20664d
3 changed files with 7 additions and 4 deletions

View file

@ -1,5 +1,9 @@
import shutil
import platform
import os
if platform.system() == "Windows":
shutil.copy("node_modules/ps-list/vendor/fastlist-0.3.0-x64.exe", "resources/fastlist.exe")
if not os.path.exists("resources/dist"):
os.mkdir("resources/dist")
shutil.copy("node_modules/ps-list/vendor/fastlist-0.3.0-x64.exe", "resources/dist/fastlist.exe")