Compare commits

...

1 Commits

Author SHA1 Message Date
yushen
10618b1fab fix(desktop): hardcode Windows & Linux artifact names to avoid scoped-package slash
The package name `@multica/desktop` contains a slash which produces
invalid filenames on Windows (`@multica/desktop-0.1.0-setup.exe`).
Hardcode `multica-desktop-*` for win and linux sections — same
approach already used for mac/dmg.

Also add explicit `nsis.artifactName` so the NSIS installer artifact
name stays consistent with the top-level win config.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-16 18:47:24 +08:00

View File

@@ -33,11 +33,17 @@ linux:
target:
- AppImage
- deb
artifactName: ${name}-${version}-${arch}.${ext}
# Hardcoded name — same rationale as mac: avoids the `@multica/desktop-*`
# subdirectory that `${name}` produces for scoped package names.
artifactName: multica-desktop-${version}-${arch}.${ext}
win:
target:
- nsis
artifactName: ${name}-${version}-setup.${ext}
# Hardcoded name — `${name}` resolves to `@multica/desktop` which contains
# a slash, producing invalid filenames on Windows.
artifactName: multica-desktop-${version}-setup.${ext}
nsis:
artifactName: multica-desktop-${version}-setup.${ext}
publish:
provider: github
owner: multica-ai