mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 09:22:18 +00:00
ROMFS: Strip README files
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user