modified: .github/workflows/mikrotik_patch.yml

modified:   patch.py
This commit is contained in:
zyb
2024-07-01 22:46:00 +08:00
parent bfa5266af8
commit c23b41d3aa
2 changed files with 5 additions and 2 deletions

View File

@@ -62,7 +62,7 @@ def patch_squashfs(path,key_dict):
open(file,'wb').write(data)
data = open(file,'rb').read()
url_dict = {
os.environ['MIKRO_LICENSE_URL'].encode():os.environ['CUSTOM_LICENSE_URL'].encode(),
os.environ['MIKRO_LICENCE_URL'].encode():os.environ['CUSTOM_LICENCE_URL'].encode(),
os.environ['MIKRO_UPGRADE_URL'].encode():os.environ['CUSTOM_UPGRADE_URL'].encode()
}
for old_url,new_url in url_dict.items():