forked from openkylin/kylin-code
优化插件代码,添加metadata信息,固定中文显示的hash值.
This commit is contained in:
parent
14dc667944
commit
9ee531ff3b
|
@ -44,7 +44,6 @@ exports.dirs = [
|
||||||
'extensions/vscode-custom-editor-tests',
|
'extensions/vscode-custom-editor-tests',
|
||||||
'extensions/vscode-notebook-tests',
|
'extensions/vscode-notebook-tests',
|
||||||
'extensions/vscode-test-resolver',
|
'extensions/vscode-test-resolver',
|
||||||
'extensions/vscode-language-pack-zh-hans',
|
|
||||||
'remote',
|
'remote',
|
||||||
'remote/web',
|
'remote/web',
|
||||||
'test/automation',
|
'test/automation',
|
||||||
|
|
|
@ -411,5 +411,11 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "16.x"
|
"@types/node": "16.x"
|
||||||
|
},
|
||||||
|
"__metadata": {
|
||||||
|
"id": "dc489f46-520d-4556-ae85-1f9eab3c412d",
|
||||||
|
"publisherDisplayName": "ms-vscode",
|
||||||
|
"publisherId": "5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee",
|
||||||
|
"isPreReleaseVersion": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -633,5 +633,11 @@
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"update": "cd ../vscode && npm run update-localization-extension zh-hans"
|
"update": "cd ../vscode && npm run update-localization-extension zh-hans"
|
||||||
|
},
|
||||||
|
"__metadata": {
|
||||||
|
"id": "e4ee7751-6514-4731-9cdb-7580ffa9e70b",
|
||||||
|
"publisherDisplayName": "MS-CEINTL",
|
||||||
|
"publisherId": "0b0882c3-aee3-4d7c-b5f9-872f9be0a115",
|
||||||
|
"isPreReleaseVersion": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -83,7 +83,7 @@
|
||||||
// md5.update('e4ee7751-6514-4731-9cdb-7580ffa9e70b'||'ms-ceintl.vscode-language-pack-zh-hans').update('1.68.3');
|
// md5.update('e4ee7751-6514-4731-9cdb-7580ffa9e70b'||'ms-ceintl.vscode-language-pack-zh-hans').update('1.68.3');
|
||||||
// console.log(md5.digest('hex'));
|
// console.log(md5.digest('hex'));
|
||||||
const languagePackEntry = {
|
const languagePackEntry = {
|
||||||
hash: requireLanguagePackage.__metadata ? '1cf4ec60d0997dd50d066e7d1d964c9e' : 'cd11b13396a8ccc2d43833b1c0402ea3',
|
hash: '1cf4ec60d0997dd50d066e7d1d964c9e',
|
||||||
extensions: [],
|
extensions: [],
|
||||||
translations: {}
|
translations: {}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue