mirror of
https://github.com/Sneed-Group/pypush-plus-plus
synced 2025-01-09 17:33:47 +00:00
fixed path from moving emulated folder
This commit is contained in:
parent
eee086683b
commit
71eecd8013
1 changed files with 3 additions and 1 deletions
|
@ -3,13 +3,15 @@ from . import mparser as macholibre
|
||||||
from .jelly import Jelly
|
from .jelly import Jelly
|
||||||
import plistlib
|
import plistlib
|
||||||
import logging
|
import logging
|
||||||
|
from pathlib import Path
|
||||||
logger = logging.getLogger("nac")
|
logger = logging.getLogger("nac")
|
||||||
|
|
||||||
BINARY_HASH = "e1181ccad82e6629d52c6a006645ad87ee59bd13"
|
BINARY_HASH = "e1181ccad82e6629d52c6a006645ad87ee59bd13"
|
||||||
BINARY_PATH = "emulated/IMDAppleServices"
|
BINARY_PATH = "emulated/IMDAppleServices"
|
||||||
BINARY_URL = "https://github.com/JJTech0130/nacserver/raw/main/IMDAppleServices"
|
BINARY_URL = "https://github.com/JJTech0130/nacserver/raw/main/IMDAppleServices"
|
||||||
|
|
||||||
FAKE_DATA = plistlib.load(open("emulated/data.plist", "rb"))
|
with open(Path(__file__).parent / "data.plist", "rb") as f:
|
||||||
|
FAKE_DATA = plistlib.load(f)
|
||||||
|
|
||||||
def load_binary() -> bytes:
|
def load_binary() -> bytes:
|
||||||
# Open the file at BINARY_PATH, check the hash, and return the binary
|
# Open the file at BINARY_PATH, check the hash, and return the binary
|
||||||
|
|
Loading…
Reference in a new issue