Update droplet & other small features, and bump version for v0.3.3 (#212)

* fix: bump version and fix context timeout issues

* fix: bump droplet

* feat: add appimage auto-detection (#209)
This commit is contained in:
DecDuck
2025-08-25 13:23:46 +10:00
committed by GitHub
parent b33e27e446
commit fd828d5b50
5 changed files with 60 additions and 58 deletions

View File

@ -57,7 +57,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

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