MaaXYZ / MaaAssistantSkland

基于 MAA 全新架构的 森空岛 小助手
GNU Affero General Public License v3.0
47 stars 10 forks source link

我想让finish.bat运行结束后跳转方舟界面我该加一段什么 #5

Closed WSMTBG closed 1 year ago

WSMTBG commented 1 year ago

rt

ABA2396 commented 1 year ago

python 调用 maa 跑一下 StartUp 任务或者 adb 命令跑一下 [Adb] -s [AdbSerial] shell am start -n [Intent] adb 路径和端口自己找找,包名是

"intent": {
    "Official": "com.hypergryph.arknights/com.u8.sdk.U8UnityContext",
    "Bilibili": "com.hypergryph.arknights.bilibili/com.u8.sdk.U8UnityContext",
    "YoStarEN": "com.YoStarEN.Arknights/com.u8.sdk.U8UnityContext",
    "YoStarJP": "com.YoStarJP.Arknights/com.u8.sdk.U8UnityContext",
    "YoStarKR": "com.YoStarKR.Arknights/com.u8.sdk.U8UnityContext",
    "txwy": "tw.txwy.and.arknights/com.u8.sdk.U8UnityContext"
},
dongwlin commented 1 year ago

如果方舟界面是指粥游戏本体的界面的话,不设置MAA的完成后动作,然后在MAS生成的config里启用CloseSkland即可