From 68b8e1d3033259428dcd487049eb879714221db4 Mon Sep 17 00:00:00 2001 From: JYW0803 <74043061+JYW0803@users.noreply.github.com> Date: Sat, 12 Feb 2022 20:31:08 +0800 Subject: [PATCH] Fix windows auto update Windows exe file name is different from latest.yml, casing 404 error. `Error: Cannot download "https://416-429851205-gh.circle-artifacts.com/0/%7E/Cider/dist/artifacts/Cider-Setup-1.1.416.exe.blockmap", status 404: Not Found` --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 0cf9f1fb..a1362af9 100644 --- a/package.json +++ b/package.json @@ -150,7 +150,8 @@ "perMachine": false, "allowToChangeInstallationDirectory": true, "license": "LICENSE", - "deleteAppDataOnUninstall": true + "deleteAppDataOnUninstall": true, + "artifactName": "${productName}-Setup-${version}.${ext}" }, "pkg": { "installLocation": "/Applications",