Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(desktop): Windows updates no longer quit into the installer without disk space #27526

Closedjuliusmarmingewants to merge 13 commits intomain fromrefs/pull/27526/headopened View on GitHub

Showing 9 changed files with 59 additions and 3 deletions (loading 6).

x
0 of 9 viewed, 9 left
18 additions and 0 deletionsapps/desktop/src/app/DesktopStartupRecovery.test.tsModified
View file
@@ -61,6 +61,24 @@
});
});
​
+ it("explains why the offered update did not install", () => {
+ expect(
+ resolveStartupRecoveryOffer(
+ updateState({
+ status: "downloaded",
+ downloadedVersion: "0.1.4",
+ errorContext: "install",
+ message: "Not enough disk space to install the update.",
+ }),
+ "0.1.2",
+ ),
+ ).toEqual({
+ _tag: "Update",
+ version: "0.1.4",
+ installError: "Not enough disk space to install the update.",
+ });
+ });
+​
it("does not offer an update that already failed to apply here", () => {
expect(
resolveStartupRecoveryOffer(
6 additions and 3 deletionsapps/desktop/src/app/DesktopStartupRecovery.tsModified
View file
@@ -29,7 +29,7 @@