Skip to content

Commit 452085b

Browse files
committed
fix(dmg): move hidden directories out of view
Close #1121
1 parent 97699b1 commit 452085b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

packages/electron-builder/src/packager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function addHandler(emitter: EventEmitter, event: string, handler: Function) {
2626
emitter.on(event, handler)
2727
}
2828

29-
declare const PACKAGE_VERSION: string
29+
const PACKAGE_VERSION = "dev"
3030

3131
export class Packager implements BuildInfo {
3232
readonly projectDir: string

packages/electron-builder/templates/dmg/dmgProperties.pl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@
3535
}
3636

3737
&writeDSDBEntries("$ENV{'volumePath'}/.DS_Store",
38-
&makeEntries(".background", Iloc_xy => [ 560, 170 ]),
39-
&makeEntries(".DS_Store", Iloc_xy => [ 610, 170 ]),
40-
&makeEntries(".fseventsd", Iloc_xy => [ 660, 170 ]),
41-
&makeEntries(".Trashes", Iloc_xy => [ 710, 170 ]),
38+
&makeEntries(".background", Iloc_xy => [ 2560, 170 ]),
39+
&makeEntries(".DS_Store", Iloc_xy => [ 2610, 170 ]),
40+
&makeEntries(".fseventsd", Iloc_xy => [ 2660, 170 ]),
41+
&makeEntries(".Trashes", Iloc_xy => [ 2710, 170 ]),
4242
&makeEntries(".",
4343
(defined($ENV{'backgroundColor'}) ? BKGD_color : BKGD_alias) => (defined($ENV{'backgroundColor'}) ? "$ENV{'backgroundColor'}" : NewAliasMinimal("$ENV{'volumePath'}/.background/$ENV{'backgroundFilename'}")),
4444
ICVO => 1,

0 commit comments

Comments
 (0)