mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 17:57:01 +08:00
fix: fix an if branch in asst.py
This commit is contained in:
@@ -36,7 +36,7 @@ class Asst:
|
||||
Asst.__libpath = pathlib.Path(path) / 'MeoAssistant.dll'
|
||||
os.environ["PATH"] += os.pathsep + str(path)
|
||||
Asst.__lib = ctypes.WinDLL(str(Asst.__libpath))
|
||||
if platform.system().lower() == 'darwin':
|
||||
elif platform.system().lower() == 'darwin':
|
||||
Asst.__libpath = pathlib.Path(path) / 'libMeoAssistant.dylib'
|
||||
os.environ['DYLD_LIBRARY_PATH'] += os.pathsep + str(path)
|
||||
Asst.__lib = ctypes.CDLL(str(Asst.__libpath))
|
||||
|
||||
Reference in New Issue
Block a user