mirror of
https://github.com/neosubhamoy/neodlp.git
synced 2026-03-24 19:15:48 +05:30
fix: initial yt-dlp auto-update failing on flatpak
This commit is contained in:
@@ -310,7 +310,11 @@ export default function App({ children }: { children: React.ReactNode }) {
|
||||
console.log("Auto-update check already performed in this session, skipping");
|
||||
return;
|
||||
}
|
||||
// const isFlatpak = await invoke<boolean>('is_flatpak');
|
||||
const isFlatpak = await invoke<boolean>('is_flatpak');
|
||||
if (isFlatpak && (!linuxRegisteredVersion || linuxRegisteredVersion !== appVersion)) {
|
||||
console.log("Flatpak registration not completed yet! Skipping yt-dlp auto-update...");
|
||||
return;
|
||||
}
|
||||
// if (isFlatpak) {
|
||||
// console.log("Flatpak detected! Skipping yt-dlp auto-update");
|
||||
// return;
|
||||
|
||||
Reference in New Issue
Block a user