fixed:统计模块中软件名称错误.

This commit is contained in:
chriswang521 2024-05-29 18:11:07 +08:00 committed by wangpenglong
parent 9075a2c759
commit 1d4563d2ea
1 changed files with 2 additions and 2 deletions

View File

@ -731,7 +731,7 @@ export class NativeWindow extends BaseWindow {
}
notificationService.notify({
severity: Severity.Info,
message: `当前Kylin-IDE发布了新版本可以尝试新版本。`,
message: `当前Kylin-Code发布了新版本,可以尝试新版本。`,
actions: {
primary: [new Action('updatecheck', `不再提示`, ThemeIcon.asClassName(Codicon.check), true, () => {
storageService.store('updatenotcheck', 'true', StorageScope.APPLICATION, StorageTarget.MACHINE);
@ -786,7 +786,7 @@ export class NativeWindow extends BaseWindow {
const tmp = JSON.stringify({
'date': new Date().toDateString()
});
let typeC = 'kylinide';
let typeC = 'kylincode';
const index = productService.updateCheckUrl?.lastIndexOf('\/');
if (index) {
typeC = productService.updateCheckUrl?.substring(index + 1, productService.updateCheckUrl?.length) as string;