mirror of
https://github.com/multica-ai/multica.git
synced 2026-06-19 20:58:56 +02:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user