mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 12:19:16 +08:00
Update documentation
Clarify why the last two items are removed from the list
This commit is contained in:
parent
b969764c1c
commit
470bb7300c
@ -32,7 +32,7 @@ def generate_nsi(source_path: str, dist_path: str, filename: str):
|
||||
for rmdir in rmdir_p.parents:
|
||||
rmdir_paths.add(rmdir)
|
||||
|
||||
rmdir_paths = sorted(list(rmdir_paths), reverse = True)[:-2]
|
||||
rmdir_paths = sorted(list(rmdir_paths), reverse = True)[:-2] # Removes the `.` and `..` from the list
|
||||
|
||||
jinja_template_path = Path(source_loc.joinpath("packaging", "NSIS", "Ultimaker-Cura.nsi.jinja"))
|
||||
with open(jinja_template_path, "r") as f:
|
||||
|
Loading…
x
Reference in New Issue
Block a user