728x90
맥북에 다음으로 열기에서 vs code가 여러 버전이 떴다.
사실 사용에 문제는 없지만 마음이 불편하다.
터미널에서 아래와 같은 명령어를 넣어준다.
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user
해당 명령어는 맥북의 런치 서비스를 재설정한다.
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister
# Launch Services 데이터베이스를 관리하는 유틸리티의 경로
-kill
#Launch Services 데이터베이스를 강제로 종료
-r
#데이터베이스를 다시 로드
-domain local
#로컬 도메인의 Launch Services 데이터베이스를 업데이트
-domain system
#시스템 도메인의 Launch Services 데이터베이스를 업데이트
-domain user
#사용자 도메인의 Launch Services 데이터베이스를 업데이트
해당 명령어를 실행 후 다음으로 열기를 확인해보면 vs code가 하나만 남기고 모두 사라진 것을 볼 수 있다.
문제는 vs code가 업데이트 될 때마다 해줘야 한다는 것....
근본적인 해결책이 있다면 누가 댓글 바란다.
728x90