node 에서 윈도우 os 버전 체크(os.release)시 조회되는 버전 목록

experience

  • electron으로 개발중 윈도우 os버전에 따라 다르게 동작해야하는 니즈가 있어 os버전 조회가 필요..  os.release() 호출시 어떤 종류의 버전으로 리턴이 될지 궁금하여.. 검색.

대략 아래와 같은듯.

Version major.minor 
------------------------------------------ ------------- 
Windows 10, Windows Server 2016 10.0
Windows 8.1, Windows Server 2012 R2 6.3
Windows 8, Windows Server 2012 6.2
Windows 7, Windows Server 2008 R2 6.1
Windows Vista, Windows Server 2008 6.0
Windows XP Professional x64 Edition, 5.2
Windows Server 2003, Windows Home Server
Windows XP 5.1
Windows 2000 5.0

from : https://stackoverflow.com/questions/42524606/how-to-get-windows-version-using-node-js?noredirect=1&lq=1

https://docs.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-osversioninfoexw#remarks

댓글

이 블로그의 인기 게시물

엑셀(excel) 비쥬얼 베이직(visual basic, vba) 심플 실비(실손보험, 실손의료비) 계산식

아트월에 날짜, 시간 나오는 LED 벽시계 설치시 케이블(전선)이 두꺼워서 틈새(홈)에 매립이 안되는 경우 랜선(lan cable, lan선) 이용시 주의사항

신한투자증권(주) 님이 세금계산서를 발행하였습니다. TaxBill365 관련 안전한 메일인지 여부?