mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2026-03-03 00:24:40 -07:00
parent
06b1f85514
commit
ea63ac8f4d
27 changed files with 145 additions and 120 deletions
|
|
@ -14,7 +14,7 @@ if pioutil.is_pio_build():
|
|||
assets_path = Path(env.Dictionary("PROJECT_BUILD_DIR"), env.Dictionary("PIOENV"), "assets")
|
||||
|
||||
def download_mks_assets():
|
||||
print("Downloading MKS Assets")
|
||||
print("Downloading MKS Assets for TFT_LVGL_UI")
|
||||
r = requests.get(url, stream=True)
|
||||
# the user may have a very clean workspace,
|
||||
# so create the PROJECT_LIBDEPS_DIR directory if not exits
|
||||
|
|
@ -25,7 +25,7 @@ if pioutil.is_pio_build():
|
|||
fd.write(chunk)
|
||||
|
||||
def copy_mks_assets():
|
||||
print("Copying MKS Assets")
|
||||
print("Copying MKS Assets for TFT_LVGL_UI")
|
||||
output_path = Path(tempfile.mkdtemp())
|
||||
zip_obj = zipfile.ZipFile(zip_path, 'r')
|
||||
zip_obj.extractall(output_path)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue