fix: 固定桌面端英文可执行文件名

This commit is contained in:
SkyJourney
2026-07-27 21:05:47 +08:00
parent 4d60741f5a
commit 06b30d084e
3 changed files with 9 additions and 1 deletions
+2
View File
@@ -14,6 +14,7 @@ module.exports = {
packagerConfig: {
asar: true,
prune: false,
executableName: "md-to-pdf",
icon: process.platform === "darwin" ? macosIcon : windowsIcon,
ignore: [
/^\/node_modules(?:\/|$)/,
@@ -34,6 +35,7 @@ module.exports = {
name: "@electron-forge/maker-squirrel",
config: {
name: "markdown_pdf_exporter",
exe: "md-to-pdf.exe",
setupIcon: windowsIcon
}
},