feat(updater): support portable auto updates

This commit is contained in:
233 authored and GitHub committed 2026-07-22 23:52:14 +08:00
1 parent 39e554369f
commit f7741a55f4
17 files changed
+692 -33

No files matched your search

+2 -2
View File
@@ -24,8 +24,8 @@ test("allows in-app update installation for installed desktop builds", () => {
assert.equal(canDownloadAndInstallUpdate(updateInfo(), true), true);
});
test("blocks in-app update installation for portable builds", () => {
assert.equal(canDownloadAndInstallUpdate(updateInfo({ portable_mode: true }), true), false);
test("allows portable builds to use the portable update installer", () => {
assert.equal(canDownloadAndInstallUpdate(updateInfo({ portable_mode: true }), true), true);
});
test("blocks in-app update installation outside desktop runtime or without an update", () => {