提交 76465f35 编写于 作者: J Joao Moreno

make control quality aware

上级 48a527de
......@@ -291,10 +291,11 @@ function prepareDebPackage(arch) {
function () {
var that = this;
gulp.src('resources/linux/debian/control.template', { base: '.' })
.pipe(replace('@@NAME@@', product.applicationName))
.pipe(replace('@@VERSION@@', packageJson.version + '-' + packageRevision))
.pipe(replace('@@ARCHITECTURE@@', debArch))
.pipe(replace('@@INSTALLEDSIZE@@', Math.ceil(size / 1024)))
.pipe(rename(function (p) { p.extname = ''; p.dirname = 'DEBIAN'; }))
.pipe(rename('DEBIAN/control'))
.pipe(es.through(function (f) { that.emit('data', f); }, function () { that.emit('end'); }));
}));
......
Package: visual-studio-code
Package: visual-studio-@@NAME@@
Version: @@VERSION@@
Section: devel
Priority: optional
Architecture: @@ARCHITECTURE@@
Maintainer: Microsoft Corporation <vscode-linux@microsoft.com>
Homepage: https://github.com/Microsoft/vscode
Maintainer: Microsoft Corporation
Homepage: https://code.visualstudio.com/
Installed-Size: @@INSTALLEDSIZE@@
Description: Code Editing. Redefined.
Build and debug modern web and cloud applications.
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册