Browse Source

ROMFS: Strip README files

sbg
Lorenz Meier 9 years ago
parent
commit
37edb43b60
  1. 5
      Tools/px_romfs_pruner.py

5
Tools/px_romfs_pruner.py

@ -68,6 +68,11 @@ def main(): @@ -68,6 +68,11 @@ def main():
os.remove(file_path)
continue
# delete documentation
if file.startswith("README"):
os.remove(file_path)
continue
# only prune text files
if ".zip" in file or ".bin" in file or ".swp" in file \
or ".data" in file or ".DS_Store" in file:

Loading…
Cancel
Save