diff --git a/installer/install.py b/installer/install.py index 65c1362..31f37fe 100644 --- a/installer/install.py +++ b/installer/install.py @@ -9,7 +9,6 @@ import os import shutil import json import platform -import string ############ Config ############ KEYWORD = "winpe" @@ -19,7 +18,6 @@ DISK = "{disk}" def find_disk(): - ventoy_drives = [] if platform.system() == 'Linux': mount_point = "/mnt/prinjector_mount_point" print( @@ -69,6 +67,10 @@ def find_disk(): "Cannot find the Ventoy disk!(try to run ventoyPlugson once)") +print("Update packages") +os.system("git submodule update --init --recursive") + + DISK = DISK.replace("{disk}", find_disk()) print("Use disk: "+DISK)