1
1
mirror of https://github.com/neosubhamoy/neodlp.git synced 2026-03-22 19:25:49 +05:30

refactor: install yt-dlp-plugins on XDG_CONFIG_HOME in flatpak

This commit is contained in:
2026-03-05 22:26:55 +05:30
Verified
parent d7f2f7b867
commit 52dad3acb1
4 changed files with 48 additions and 37 deletions

View File

@@ -259,7 +259,7 @@ export default function App({ children }: { children: React.ReactNode }) {
try {
const isFlatpak = await invoke<boolean>('is_flatpak');
const command = isFlatpak
? Command.create('sh', ['-c', `yt-dlp --version`])
? Command.create('yt-dlp', [' --version'])
: Command.sidecar('binaries/yt-dlp', ['--version']);
const output = await command.execute();
if (output.code === 0) {