Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

自动运行 #116

Open
xzy577 opened this issue Jul 18, 2024 · 5 comments
Open

自动运行 #116

xzy577 opened this issue Jul 18, 2024 · 5 comments

Comments

@xzy577
Copy link

xzy577 commented Jul 18, 2024

希望能有开机自启功能和自动运行的功能

@Daodanfd5
Copy link
Collaborator

在做了
开机自启baas只需要把baas快捷方式扔进C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp即可
自动启动的话需要加个配置应该

@VoltIcaRus
Copy link
Contributor

VoltIcaRus commented Jul 23, 2024

@Daodanfd5 Is there any option to shut down BA after all the task is done?
My mini pc really needs this option because the cooler noise is loud

@RedDeadDepresso
Copy link
Contributor

@VoltIcaRus I'm already working on it. You can try it if you want. I'll make a pull request in a few days.

@Daodanfd5
Copy link
Collaborator

@Daodanfd5 Is there any option to shut down BA after all the task is done? My mini pc really needs this option because the cooler noise is loud

The scheduler is running 24 hours a day. There is no function to shut down ba for the time being. A better scheduler may be designed for this request.

@Daodanfd5
Copy link
Collaborator

@VoltIcaRus I'm already working on it. You can try it if you want. I'll make a pull request in a few days.

I saw your fork, and there is a problem in stopping simulator. If there are multiple instances running, this will close all the instance with same process name, and it seems to require a privilege to terminate other process(at least on my machine)

There is a module in .device_operation that can distinguish between multiple instances and shut down the emulator individually (MuMu12 and BlueStacks supported,and more in the future)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants