refactor: improved linux package dependencies and minor cleanup

This commit is contained in:
Subhamoy Biswas
2026-03-24 22:56:37 +05:30
parent 38d638d7b8
commit 6469666cdb
10 changed files with 26 additions and 126 deletions
-2
View File
@@ -17,7 +17,6 @@ export function useLinuxRegisterer() {
const { saveKvPair } = useKvPairs();
const { updateYtDlp } = useYtDlpUpdater();
const appVersion = useSettingsPageStatesStore(state => state.appVersion);
const setYtDlpVersion = useSettingsPageStatesStore((state) => state.setYtDlpVersion);
const registerToLinux = async () => {
try {
@@ -109,7 +108,6 @@ export function useLinuxRegisterer() {
if (isFlatpak) {
await updateYtDlp();
setYtDlpVersion(null);
}
return { success: true, message: 'Registered successfully' }