Skip to content

Comments

feat: startup lock#2702

Open
cssxsh wants to merge 1 commit intomamoe:devfrom
cssxsh:feat_startup
Open

feat: startup lock#2702
cssxsh wants to merge 1 commit intomamoe:devfrom
cssxsh:feat_startup

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