File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 1- Package: visual-studio-code
1+ Package: visual-studio-@@NAME@@
22Version: @@VERSION@@
33Section: devel
44Priority: optional
55Architecture: @@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/
88Installed-Size: @@INSTALLEDSIZE@@
99Description: Code Editing. Redefined.
1010 Build and debug modern web and cloud applications.
You can’t perform that action at this time.
0 commit comments