Merge branch 'develop' into redistributable

This commit is contained in:
DecDuck
2025-08-25 16:19:48 +10:00
27 changed files with 1098 additions and 184 deletions

View File

@ -36,7 +36,7 @@ export const userACLDescriptions: ObjectFromList<typeof userACLs> = {
"library:remove": "Remove a game from your library.",
"clients:read": "Read the clients connected to this account",
"clients:revoke": "",
"clients:revoke": "Remove clients connected to this account",
"news:read": "Read the server's news articles.",

View File

@ -58,7 +58,7 @@ class DownloadContextManager {
async cleanup() {
for (const key of this.contexts.keys()) {
const context = this.contexts.get(key)!;
if (context.timeout.getDate() + TIMEOUT < Date.now()) {
if (context.timeout.getTime() < Date.now() - TIMEOUT) {
this.contexts.delete(key);
}
}

View File

@ -186,6 +186,8 @@ class LibraryManager {
".sh",
// No extension is common for Linux binaries
"",
// AppImages
".appimage",
],
Windows: [".exe", ".bat"],
macOS: [