mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-07-12 17:27:49 -06:00
🐛 Prefer os.replace, fix TFT_LVGL_UI build (#24001)
This commit is contained in:
parent
6fa930f043
commit
46e282bd6d
2 changed files with 2 additions and 2 deletions
|
@ -57,6 +57,6 @@ if pioutil.is_pio_build():
|
|||
|
||||
def rename_target(source, target, env):
|
||||
firmware = os.path.join(target[0].dir.path, board.get("build.rename"))
|
||||
os.rename(target[0].path, firmware)
|
||||
os.replace(target[0].path, firmware)
|
||||
|
||||
marlin.add_post_action(rename_target)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue