From 0e279bfd7e5c2caaa625712bd0cbb685cfc87e2f Mon Sep 17 00:00:00 2001 From: qer Date: Wed, 1 Jul 2026 19:50:11 +0800 Subject: [PATCH] chore(kimi-desktop): rename installers to kcd-beta-alpha-crazy-internal (#1267) * chore(kimi-desktop): rename installers to kcd-beta-alpha-crazy-internal New artifact name: kcd-beta-alpha-crazy-internal-v50--., where MMDD is the build date in UTC+8. This makes leaked or forwarded installers harder to mistake for an official release, and the date makes each build easy to identify. * chore(kimi-desktop): uppercase KCD in installer name --- apps/kimi-desktop/electron-builder.config.cjs | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/apps/kimi-desktop/electron-builder.config.cjs b/apps/kimi-desktop/electron-builder.config.cjs index edbd20b70..a0e80ee4b 100644 --- a/apps/kimi-desktop/electron-builder.config.cjs +++ b/apps/kimi-desktop/electron-builder.config.cjs @@ -18,6 +18,18 @@ const notarize = process.env.KIMI_DESKTOP_NOTARIZE === 'true'; +// Internal-testing artifact name: +// KCD-beta-alpha-crazy-internal-v50--. +// The date is MMDD in UTC+8, computed at build time. `v50` is a fixed label +// (not a version number) — edit it here to bump the internal build label. +function mmddUTC8() { + const utc8 = new Date(Date.now() + 8 * 60 * 60 * 1000); + const mm = String(utc8.getUTCMonth() + 1).padStart(2, '0'); + const dd = String(utc8.getUTCDate()).padStart(2, '0'); + return mm + dd; +} +const artifactName = 'KCD-beta-alpha-crazy-internal-v50-${arch}-' + mmddUTC8() + '.${ext}'; + module.exports = { appId: 'ai.moonshot.kimi.desktop', productName: 'Kimi Code Desktop', @@ -44,13 +56,13 @@ module.exports = { entitlements: 'build/entitlements.mac.plist', entitlementsInherit: 'build/entitlements.mac.plist', target: ['dmg', 'zip'], - artifactName: 'KCD-Internal-${version}-${arch}.${ext}', + artifactName, notarize, }, win: { target: ['nsis'], - artifactName: 'KCD-Internal-${version}-${arch}.${ext}', + artifactName, }, nsis: { @@ -62,7 +74,7 @@ module.exports = { linux: { category: 'Development', target: ['AppImage', 'deb'], - artifactName: 'KCD-Internal-${version}-${arch}.${ext}', + artifactName, maintainer: 'Moonshot AI', }, };