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-<arch>-<MMDD>.<ext>,
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
This commit is contained in:
qer 2026-07-01 19:50:11 +08:00 committed by GitHub
parent ace7901066
commit 0e279bfd7e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -18,6 +18,18 @@
const notarize = process.env.KIMI_DESKTOP_NOTARIZE === 'true';
// Internal-testing artifact name:
// KCD-beta-alpha-crazy-internal-v50-<arch>-<MMDD>.<ext>
// 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',
},
};