1
1
mirror of https://github.com/neosubhamoy/pytubepp-helper.git synced 2026-02-04 11:22:22 +05:30

(feat): added nodejs detection

This commit is contained in:
2025-01-26 19:42:04 +05:30
Verified
parent 01c50cd339
commit 8bae029b5a
6 changed files with 56 additions and 8 deletions

View File

@@ -98,7 +98,7 @@ export function extractVersion(output: string): string | null {
/Python (\d+\.\d+\.\d+)/, // Pattern for Python
/pytubefix (\d+\.\d+\.\d+)/, // Pattern for pytubefix
/pytubepp (\d+\.\d+\.\d+)/, // Pattern for pytubepp
/v(\d+\.\d+\.\d+)/, // Pattern for winget
/v(\d+\.\d+\.\d+)/, // Pattern for winget, Node.js
/pip (\d+\.\d+)/, // Pattern for pip
/OS Version:.*Build (\d+)/, // Pattern for Windows build
/apt (\d+\.\d+\.\d+)/, // Pattern for apt