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

(refactor): merged windows and linux builds in single codebase

This commit is contained in:
2024-10-30 11:14:07 +05:30
Unverified
parent 70d1b622e0
commit 6cdcde5125
121 changed files with 352 additions and 9671 deletions

52
src/types.ts Normal file
View File

@@ -0,0 +1,52 @@
export interface InstalledPrograms {
winget: {
installed: boolean;
version: string | null;
};
apt: {
installed: boolean;
version: string | null;
};
dnf: {
installed: boolean;
version: string | null;
};
python: {
installed: boolean;
version: string | null;
};
pip: {
installed: boolean;
version: string | null;
};
python3: {
installed: boolean;
version: string | null;
};
pip3: {
installed: boolean;
version: string | null;
};
ffmpeg: {
installed: boolean;
version: string | null;
};
pytubepp: {
installed: boolean;
version: string | null;
};
}
export interface WebSocketMessage {
url: string;
command: string;
argument: string;
}
export interface Stream {
itag: string;
mime_type: string;
res: string;
fps: string;
vcodec: string;
}