From a09ef9dde2eb47113ed399b579c9edec0abc8f11 Mon Sep 17 00:00:00 2001 From: YuShifan <894402575bt@gmail.com> Date: Fri, 10 Nov 2023 18:11:57 +0800 Subject: [PATCH] fix(ci): update electron-builder.yml for Windows installer --- apps/desktop/electron-builder.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/desktop/electron-builder.yml b/apps/desktop/electron-builder.yml index 38591e50d9..d448b2fec4 100644 --- a/apps/desktop/electron-builder.yml +++ b/apps/desktop/electron-builder.yml @@ -14,18 +14,18 @@ asarUnpack: win: executableName: ${productName} - artifactName: ${productName}-Setup-${version}-${arch}.${ext} target: - target: nsis arch: [x64, ia32, arm64] nsis: + artifactName: ${productName}-Setup-${version}-setup.${ext} + shortcutName: ${productName} + uninstallDisplayName: ${productName} + createDesktopShortcut: always oneClick: false allowElevation: true allowToChangeInstallationDirectory: true createStartMenuShortcut: true - shortcutName: ${productName} - uninstallDisplayName: ${productName} - createDesktopShortcut: always mac: artifactName: ${productName}-${version}-${arch}.${ext}