优化脚本 不再使用配置文件
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import re
|
||||
import os
|
||||
import sys
|
||||
import struct
|
||||
import json
|
||||
@@ -277,6 +278,12 @@ def bin_file_decrypt(bin_file:str):
|
||||
return "tmp.bin"
|
||||
|
||||
|
||||
def clear_tmp():
|
||||
tmp_list=['tmp.bin']
|
||||
for item in tmp_list:
|
||||
if os.path.exists(item):
|
||||
os.remove(item)
|
||||
|
||||
|
||||
# bin_to_hex.py input_file output_file
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user