fixed:统计模块中软件名称错误.
This commit is contained in:
parent
9075a2c759
commit
1d4563d2ea
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue