Skip to content

Commit

Permalink
fix: productName with utf8 characters cause dmg icon position error
Browse files Browse the repository at this point in the history
Close #1234
  • Loading branch information
changkun authored and develar committed Mar 15, 2017
1 parent ec2eed0 commit fbf787c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/electron-builder/templates/dmg/dmgProperties.pl
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
use Mac::Memory qw( );
use Mac::Files qw( NewAliasMinimal );
use Encode ();
use utf8;

my($backgroundWidth, $backgroundHeight);

Expand Down Expand Up @@ -69,4 +70,4 @@ sub syscall_setfinderinfo {
my($r) = syscall(SYS_setattrlist, $path, $bits, $data, length($data), 0);
die "setattrlist($path): $!\n"
if $r == -1;
}
}

0 comments on commit fbf787c

Please sign in to comment.