Skip to content

Self-improving AI Employees for everyone

build(desktop): name release files by OS

trohitg6b51f1da643d
diff --git a/desktop/electron-builder.yml b/desktop/electron-builder.yml
index 5435313e..983f460c 100644
--- a/desktop/electron-builder.yml
+++ b/desktop/electron-builder.yml
@@ -18,6 +18,9 @@
appId: ai.zeenie.opencompany
productName: OpenCompany
copyright: Copyright (c) 2026 OpenCompany contributors
+# Release file names say the OS in plain words (windows / macos / linux) so
+# the download list on the release page is not a guessing game; each platform
+# block below sets it, this is only the fallback.
artifactName: ${productName}-${version}-${os}-${arch}.${ext}
directories:
@@ -52,13 +55,14 @@ win:
- target: nsis
arch: [x64]
icon: build/icon.png
+ artifactName: ${productName}-${version}-windows-${arch}.${ext}
nsis:
oneClick: false
perMachine: false
allowToChangeInstallationDirectory: true
deleteAppDataOnUninstall: false
shortcutName: OpenCompany
- artifactName: ${productName}-Setup-${version}-${arch}.${ext}
+ artifactName: ${productName}-${version}-windows-${arch}.${ext}
mac:
category: public.app-category.productivity
@@ -68,13 +72,14 @@ mac:
- target: zip # required by electron-updater (Squirrel.Mac reads zips, not dmgs)
arch: [arm64, x64]
icon: build/icon.png
+ artifactName: ${productName}-${version}-macos-${arch}.${ext}
identity: null
hardenedRuntime: false
gatekeeperAssess: false
notarize: false
darkModeSupport: true
dmg:
- artifactName: ${productName}-${version}-${arch}.${ext}
+ artifactName: ${productName}-${version}-macos-${arch}.${ext}
linux:
target:
@@ -83,6 +88,7 @@ linux:
- target: deb
arch: [x64]
icon: build/icon.png
+ artifactName: ${productName}-${version}-linux-${arch}.${ext}
category: Office
maintainer: OpenCompany contributors
synopsis: Agent-first workflow automation, running locally
diff --git a/docs-internal/desktop_app.md b/docs-internal/desktop_app.md
index d72c4cf6..45fec70c 100644
--- a/docs-internal/desktop_app.md
+++ b/docs-internal/desktop_app.md
@@ -138,7 +138,11 @@ zips.
`electron-builder.yml` maps `stage/app-root/` and
`stage/runtime/${os}-${arch}/` to `resources/` outside the asar. Targets:
NSIS x64; DMG + zip for arm64 and x64 (zip is required by electron-updater);
-AppImage + deb x64.
+AppImage + deb x64. Artifact names spell the OS out
+(`OpenCompany-<version>-windows-x64.exe`, `-macos-arm64.dmg`, `-linux-x64.AppImage`)
+so the release page reads without guessing; electron-updater's `latest*.yml`
+feeds are generated from whatever names are produced, so renaming is safe
+between releases.
## Signing and updates