fixed:统计模块中软件名称错误.
This commit is contained in:
parent
9075a2c759
commit
1d4563d2ea
|
@ -731,7 +731,7 @@ export class NativeWindow extends BaseWindow {
|
||||||
}
|
}
|
||||||
notificationService.notify({
|
notificationService.notify({
|
||||||
severity: Severity.Info,
|
severity: Severity.Info,
|
||||||
message: `当前Kylin-IDE发布了新版本,可以尝试新版本。`,
|
message: `当前Kylin-Code发布了新版本,可以尝试新版本。`,
|
||||||
actions: {
|
actions: {
|
||||||
primary: [new Action('updatecheck', `不再提示`, ThemeIcon.asClassName(Codicon.check), true, () => {
|
primary: [new Action('updatecheck', `不再提示`, ThemeIcon.asClassName(Codicon.check), true, () => {
|
||||||
storageService.store('updatenotcheck', 'true', StorageScope.APPLICATION, StorageTarget.MACHINE);
|
storageService.store('updatenotcheck', 'true', StorageScope.APPLICATION, StorageTarget.MACHINE);
|
||||||
|
@ -786,7 +786,7 @@ export class NativeWindow extends BaseWindow {
|
||||||
const tmp = JSON.stringify({
|
const tmp = JSON.stringify({
|
||||||
'date': new Date().toDateString()
|
'date': new Date().toDateString()
|
||||||
});
|
});
|
||||||
let typeC = 'kylinide';
|
let typeC = 'kylincode';
|
||||||
const index = productService.updateCheckUrl?.lastIndexOf('\/');
|
const index = productService.updateCheckUrl?.lastIndexOf('\/');
|
||||||
if (index) {
|
if (index) {
|
||||||
typeC = productService.updateCheckUrl?.substring(index + 1, productService.updateCheckUrl?.length) as string;
|
typeC = productService.updateCheckUrl?.substring(index + 1, productService.updateCheckUrl?.length) as string;
|
||||||
|
|
Loading…
Reference in New Issue