File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -706,11 +706,17 @@ function release_zip(arch, appDirectory) {
706706
707707// Compress files from srcPath, using basePath, to outputFile in the RELEASE_DIR
708708function compressFiles ( srcPath , basePath , outputFile , zipFolder ) {
709+
710+ // Ubuntu introduces ZST compression not included in Debian. For now we disable compression for linux as workaround.
711+ const options = {
712+ compressFiles : basePath . includes ( "linux" ) ? false : true ,
713+ } ;
714+
709715 return gulp . src ( srcPath , { base : basePath } )
710716 . pipe ( rename ( function ( actualPath ) {
711717 actualPath . dirname = path . join ( zipFolder , actualPath . dirname ) ;
712718 } ) )
713- . pipe ( zip ( outputFile ) )
719+ . pipe ( zip ( outputFile , options ) )
714720 . pipe ( gulp . dest ( RELEASE_DIR ) ) ;
715721}
716722
You can’t perform that action at this time.
0 commit comments