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

feat: startup lock #2702

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open

feat: startup lock #2702

wants to merge 1 commit into from

Conversation

cssxsh
Copy link
Contributor

@cssxsh cssxsh commented Jun 21, 2023

@Karlatemp

或许在 preStart 中加个 是否继续运行 (Y/N) 的选项比较好?

@Him188
Copy link
Member

Him188 commented Jun 25, 2023

我觉得要加一个

Copy link
Member

@Him188 Him188 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

我觉得要加一个提示是否继续运行的选项 (stdin 输入, 但这不是很好),
或者通过一个参数 (例如 --allow-multiple-instances),
或者通过一个 system prop (mirai.console.allow.multiple.instances) 来允许多次运行.

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

Successfully merging this pull request may close these issues.

2 participants