forked from anixart-mod/patcher
init
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
# Change api server of apk
|
||||
|
||||
import json
|
||||
import requests
|
||||
|
||||
def apply(config: dict) -> bool:
|
||||
response = requests.get(config['server'])
|
||||
if response.status_code == 200:
|
||||
print(json.loads(response.text))
|
||||
return True
|
||||
return False
|
||||
Reference in New Issue
Block a user