File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
packages/hadron-build/lib Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -496,22 +496,24 @@ class Target {
496496 this . packagerOptions . appBundleId += `.${ this . channel } ` ;
497497 }
498498
499- this . osx_dmg_label = this . osx_dmg_filename = `${ this . productName } .dmg` ;
500- this . osx_zip_label = this . osx_zip_filename = `${ this . productName } .zip` ;
499+ this . osx_dmg_label =
500+ this . osx_dmg_filename = `${ this . id } -${ this . version } -${ this . platform } -${ this . arch } .dmg` ;
501+ this . osx_zip_label =
502+ this . osx_zip_filename = `${ this . id } -${ this . version } -${ this . platform } -${ this . arch } .zip` ;
501503
502504 this . assets = [
503505 {
504- name : ` ${ this . id } - ${ this . version } - ${ this . platform } - ${ this . arch } .dmg` ,
506+ name : this . osx_dmg_label ,
505507 path : this . dest ( this . osx_dmg_label )
506508 } ,
507509 {
508- name : ` ${ this . id } - ${ this . version } - ${ this . platform } - ${ this . arch } .zip` ,
510+ name : this . osx_zip_label ,
509511 path : this . dest ( this . osx_zip_label )
510512 }
511513 ] ;
512514
513515 this . installerOptions = {
514- dmgPath : this . dest ( ` ${ this . productName } .dmg` ) ,
516+ dmgPath : this . dest ( this . osx_dmg_filename ) ,
515517 title : this . truncatedProductName , // actually names the dmg
516518 overwrite : true ,
517519 out : this . out ,
You can’t perform that action at this time.
0 commit comments