Skip to content

Commit 76465f3

Browse files
committed
make control quality aware
1 parent 48a527d commit 76465f3

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

build/gulpfile.vscode.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,10 +291,11 @@ function prepareDebPackage(arch) {
291291
function () {
292292
var that = this;
293293
gulp.src('resources/linux/debian/control.template', { base: '.' })
294+
.pipe(replace('@@NAME@@', product.applicationName))
294295
.pipe(replace('@@VERSION@@', packageJson.version + '-' + packageRevision))
295296
.pipe(replace('@@ARCHITECTURE@@', debArch))
296297
.pipe(replace('@@INSTALLEDSIZE@@', Math.ceil(size / 1024)))
297-
.pipe(rename(function (p) { p.extname = ''; p.dirname = 'DEBIAN'; }))
298+
.pipe(rename('DEBIAN/control'))
298299
.pipe(es.through(function (f) { that.emit('data', f); }, function () { that.emit('end'); }));
299300
}));
300301

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
Package: visual-studio-code
1+
Package: visual-studio-@@NAME@@
22
Version: @@VERSION@@
33
Section: devel
44
Priority: optional
55
Architecture: @@ARCHITECTURE@@
6-
Maintainer: Microsoft Corporation <vscode-linux@microsoft.com>
7-
Homepage: https://github.com/Microsoft/vscode
6+
Maintainer: Microsoft Corporation
7+
Homepage: https://code.visualstudio.com/
88
Installed-Size: @@INSTALLEDSIZE@@
99
Description: Code Editing. Redefined.
1010
Build and debug modern web and cloud applications.

0 commit comments

Comments
 (0)