Skip to content

Conversation

@otherfit
Copy link

close #108

요약

  • 단일 인스턴스 환경에서 CLI 인자, 더블 클릭, OS 파일 열기를 통해 전달된 .sic 경로를 큐에 보관하고 렌더러가 준비되는 시점에 정확히 한 번만 전달하도록 메인 프로세스를 재구성했습니다.
  • 프리로드/렌더러/스토어에 openProjectByPath·consumeQueuedProjectPath 브리지와 경로 큐 재시도 로직을 추가해 사용자가 별도 조작 없이도 프로젝트가 자동으로 열리도록 했습니다.
  • 마지막으로 열린 프로젝트 경로를 추적해 동일 경로가 중복으로 로드되는 현상을 방지했습니다.

테스트

  • npx pnpm dev -- "<project>.sic" 실행 시 프로젝트가 자동으로 열리는지 수동 확인
  • 빌드된 app\out\UmJoonSIC-win32-x64\UmJoonSIC.exe "<project>.sic" 실행 시 프로젝트가 자동으로 열리는지 수동 확인
  • Windows에서 설치된 실행 파일로 .sic 파일을 더블 클릭하여 기존 인스턴스가 해당 프로젝트를 불러오는지 수동 확인

참고

  • 개발 및 빌드 환경은 Node.js 22 버전을 기준으로 작성했습니다.

@otherfit otherfit force-pushed the open-project-with-command-line branch from 921208c to 0dc6831 Compare September 27, 2025 10:43
@otherfit otherfit marked this pull request as ready for review September 27, 2025 10:46
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.

project.sic 파일을 연결 프로그램으로 열어도 프로젝트가 열리지 않음

1 participant