mirror of
https://github.com/Johnshall/Shadowrocket-ADBlock-Rules-Forever.git
synced 2025-12-17 23:34:48 +08:00
🧩 Remove head from sr_ad_only
This commit is contained in:
@@ -74,7 +74,9 @@ for conf_name in confs_names:
|
||||
file_template = open('template/'+conf_name+'.txt', 'r', encoding='utf-8')
|
||||
template = file_template.read()
|
||||
|
||||
template = str_head + template + str_foot
|
||||
template = template + str_foot
|
||||
if conf_name != 'sr_ad_only':
|
||||
template = str_head + template
|
||||
|
||||
file_output = open('../'+conf_name+'.conf', 'w', encoding='utf-8')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user