Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -7,13 +7,13 @@ import tempfile
|
|
7 |
# Function to install Node.js and apk-mitm
|
8 |
def install_node_and_apk_mitm():
|
9 |
# Install Node.js
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
|
14 |
# Install apk-mitm
|
15 |
-
|
16 |
-
os.system("
|
17 |
|
18 |
# Function to process APK file
|
19 |
def process_apk(file_path, output_path):
|
|
|
7 |
# Function to install Node.js and apk-mitm
|
8 |
def install_node_and_apk_mitm():
|
9 |
# Install Node.js
|
10 |
+
# st.write("Installing Node.js...")
|
11 |
+
# os.system("curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -")
|
12 |
+
# os.system("sudo apt-get install -y nodejs")
|
13 |
|
14 |
# Install apk-mitm
|
15 |
+
# st.write("Installing apk-mitm...")
|
16 |
+
os.system("npm install -g apk-mitm")
|
17 |
|
18 |
# Function to process APK file
|
19 |
def process_apk(file_path, output_path):
|