File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ let gitChangeSetId;
5252
5353const nwBuilderOptions = {
5454 version : '0.47.0' ,
55- files : './dist/ **/*' ,
55+ files : ` ${ DIST_DIR } **/*` ,
5656 macIcns : './src/images/bf_icon.icns' ,
5757 macPlist : { 'CFBundleDisplayName' : 'Betaflight Configurator' } ,
5858 winIco : './src/images/bf_icon.ico' ,
@@ -269,7 +269,7 @@ function dist_src() {
269269 return packageJson
270270 . pipe ( source ( 'package.json' ) )
271271 . pipe ( gulp . src ( distSources , { base : 'src' } ) )
272- . pipe ( gulp . src ( 'yarn.lock' , { passthrougth : true } ) )
272+ . pipe ( gulp . src ( 'yarn.lock' ) )
273273 . pipe ( gulp . dest ( DIST_DIR ) ) ;
274274}
275275
@@ -280,8 +280,8 @@ function dist_changelog() {
280280
281281// This function relies on files from the dist_src function
282282function dist_yarn ( ) {
283- return gulp . src ( [ './dist/ package.json' , './dist/ yarn.lock' ] )
284- . pipe ( gulp . dest ( './dist' ) )
283+ return gulp . src ( [ ` ${ DIST_DIR } package.json` , ` ${ DIST_DIR } yarn.lock` ] )
284+ . pipe ( gulp . dest ( DIST_DIR ) )
285285 . pipe ( yarn ( {
286286 production : true ,
287287 } ) ) ;
You can’t perform that action at this time.
0 commit comments