feat(m0): check a virtual monitor for the bot browser window
The user wants the bot window on no real screen at all. Add a vdisplay stage that drives the Parsec Virtual Display Adapter already on the PC (no install, the display dies with the script), moves the clock window onto it as a normal and as a tool window, and asks about real monitors, Alt+Tab, Discord's Screens tab and whether the cursor can wander there. Record the M0 defaults the user confirmed in docs/v2. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -28,6 +28,7 @@ from m0lib.common import read_json, say, step, write_json # noqa: E402
|
||||
STAGES = [
|
||||
("sysinfo", "PC 정보", "", "sysinfo.py", [], 0),
|
||||
("winchecks", "창·디스코드·게임 확인 (직접 답해 주셔야 합니다)", "", "winchecks.py", [], 0),
|
||||
("vdisplay", "가상 모니터에 봇용 창 두기 (직접 답해 주셔야 합니다)", "", "vdisplay.py", [], 0),
|
||||
("tts_melo", "MeloTTS 속도", "melo", "tts_melo.py", [], 10),
|
||||
("tts_cosy2", "CosyVoice2 속도", "cosy", "tts_cosy.py", ["models=cosyvoice2"], 15),
|
||||
("tts_cosy3", "Fun-CosyVoice3 속도", "cosy", "tts_cosy.py", ["models=cosyvoice3"], 8),
|
||||
@@ -114,7 +115,7 @@ def main() -> int:
|
||||
say("Jarvis v2 M0 측정을 시작합니다.")
|
||||
say(f"작업 폴더: {work} (남은 공간 {free_gb(work):.0f} GB)")
|
||||
say("모든 파일은 이 작업 폴더 안에만 받습니다. 끝나면 결과 zip 파일 위치를 알려 드립니다.")
|
||||
say("처음 두 단계는 직접 답해 주셔야 하고, 그 뒤는 자리를 비우셔도 됩니다.")
|
||||
say("앞쪽의 '직접 답해 주셔야 합니다' 단계가 끝나면 자리를 비우셔도 됩니다.")
|
||||
say("측정이 정확하도록 그동안 게임이나 무거운 프로그램은 꺼 두세요.\n")
|
||||
|
||||
t0 = time.time()
|
||||
@@ -141,7 +142,7 @@ def main() -> int:
|
||||
except Exception as e:
|
||||
say(f" [오류] {title}: {e}")
|
||||
write_json(out, {"stage": key, "status": "failed", "errors": [{"where": "setup", "error": str(e)}]})
|
||||
if key == "winchecks":
|
||||
if key == "vdisplay":
|
||||
say("\n직접 확인하는 단계는 끝났습니다. 이제 자리를 비우셔도 됩니다.")
|
||||
|
||||
target = pack(work)
|
||||
|
||||
Reference in New Issue
Block a user