test: Added download test and made app more testable in general

fix: Store Downloads not properly working on steam deck
fix: Removed linux shortcuts implementation
This commit is contained in:
Simeon Radivoev 2026-03-31 03:11:02 +03:00
parent 58d3c31c56
commit 8a0be8c913
Signed by: simeonradivoev
GPG key ID: C16C2132A7660C8E
26 changed files with 422 additions and 210 deletions

View file

@ -22,7 +22,7 @@ export default async function Initialize ()
}
}
setInterval(() =>
const loop = setInterval(() =>
{
for (const pad of manager.getGamepads())
{
@ -56,4 +56,11 @@ export default async function Initialize ()
endPressed = false;
}
}, 100);
return {
cleanup: () =>
{
clearInterval(loop);
}
};
}