Skip to content

Commit

Permalink
[Normal] Support android
Browse files Browse the repository at this point in the history
  • Loading branch information
ColdWindScholar committed Feb 19, 2024
1 parent 1460b97 commit b2525c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contextpatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def scan_dir(folder) -> list: # 读取解包的目录,返回一个字典


def str_to_selinux(string: str):
return escape(string).replace('\\-', '-').replace(r'\@', '@').replace('@', r'\@')
return escape(string).replace('\\-', '-')


def context_patch(fs_file, dir_path) -> tuple: # 接收两个字典对比
Expand Down

0 comments on commit b2525c8

Please sign in to comment.