Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -117,7 +117,7 @@ def try_pyinstaller_extraction(file_path, output_dir):
|
|
117 |
"""Attempt to extract Python scripts from PyInstaller executables"""
|
118 |
try:
|
119 |
# Run pyinstxtractor on the file
|
120 |
-
result = subprocess.run(["python", "-m", "
|
121 |
cwd=output_dir, capture_output=True, text=True)
|
122 |
|
123 |
extracted_dir = os.path.join(output_dir, os.path.basename(file_path) + "_extracted")
|
|
|
117 |
"""Attempt to extract Python scripts from PyInstaller executables"""
|
118 |
try:
|
119 |
# Run pyinstxtractor on the file
|
120 |
+
result = subprocess.run(["python", "-m", "pyinstaller-extractor", file_path],
|
121 |
cwd=output_dir, capture_output=True, text=True)
|
122 |
|
123 |
extracted_dir = os.path.join(output_dir, os.path.basename(file_path) + "_extracted")
|