mirror of https://github.com/golang/go.git
misc/dist: more gophers for OS X installer
Replaces the default OS X installer background with a more fitting image. R=golang-dev CC=golang-dev https://golang.org/cl/6116043
This commit is contained in:
parent
0f80050542
commit
78e4d1752e
|
|
@ -256,6 +256,7 @@ func (b *Build) Do() error {
|
||||||
targ := base + ".pkg"
|
targ := base + ".pkg"
|
||||||
_, err = b.run("", "productbuild",
|
_, err = b.run("", "productbuild",
|
||||||
"--distribution", filepath.Join(dist, "darwin/Distribution"),
|
"--distribution", filepath.Join(dist, "darwin/Distribution"),
|
||||||
|
"--resources", filepath.Join(dist, "darwin/Resources"),
|
||||||
"--package-path", pkgdest,
|
"--package-path", pkgdest,
|
||||||
targ)
|
targ)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||||
<installer-script minSpecVersion="1.000000">
|
<installer-script minSpecVersion="1.000000">
|
||||||
<title>Go</title>
|
<title>Go</title>
|
||||||
|
<background mime-type="image/png" file="bg.png"/>
|
||||||
<options customize="never" allow-external-scripts="no"/>
|
<options customize="never" allow-external-scripts="no"/>
|
||||||
<domains enable_localSystem="true" />
|
<domains enable_localSystem="true" />
|
||||||
<installation-check script="installCheck();"/>
|
<installation-check script="installCheck();"/>
|
||||||
|
|
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
Loading…
Reference in New Issue