diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-03-28 14:35:43 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-03-28 18:29:29 -0700 |
| commit | bec333c4bc9d414c7f393adfdb8d8ab2d394bb37 (patch) | |
| tree | 9c06e33fc787586ab5bb9ba5174caf782753c46b /src | |
| parent | b8601a3d8b91ad3b653d143307611f2f5c75617e (diff) | |
| download | rust-bec333c4bc9d414c7f393adfdb8d8ab2d394bb37.tar.gz rust-bec333c4bc9d414c7f393adfdb8d8ab2d394bb37.zip | |
dist: Tweak the OSX pkg installer
This performs a few touch-ups to the OSX installer: * A rust logo is shown during installation * The installation happens to /usr/local by default (instead of /) * A new welcome screen is shown that's slightly more relevant
Diffstat (limited to 'src')
| -rw-r--r-- | src/etc/pkg/Distribution.xml | 6 | ||||
| -rw-r--r-- | src/etc/pkg/rust-logo.png | bin | 0 -> 5844 bytes | |||
| -rw-r--r-- | src/etc/pkg/welcome.rtf | 12 |
3 files changed, 17 insertions, 1 deletions
diff --git a/src/etc/pkg/Distribution.xml b/src/etc/pkg/Distribution.xml index 9c2e5d65884..c7383c0bb1a 100644 --- a/src/etc/pkg/Distribution.xml +++ b/src/etc/pkg/Distribution.xml @@ -14,9 +14,13 @@ <line choice="org.rust-lang.rust"/> </line> </choices-outline> - <choice id="default"/> + <choice id="default" + customLocation="usr/local"/> <choice id="org.rust-lang.rust" visible="false"> <pkg-ref id="org.rust-lang.rust"/> </choice> <pkg-ref id="org.rust-lang.rust" version="0" onConclusion="none">rust.pkg</pkg-ref> + <welcome file="welcome.rtf" mime-type="text/enriched"/> + <background file="rust-logo.png" mime-type="image/png" + alignment="bottomleft"/> </installer-gui-script> diff --git a/src/etc/pkg/rust-logo.png b/src/etc/pkg/rust-logo.png new file mode 100644 index 00000000000..2c3de300087 --- /dev/null +++ b/src/etc/pkg/rust-logo.png Binary files differdiff --git a/src/etc/pkg/welcome.rtf b/src/etc/pkg/welcome.rtf new file mode 100644 index 00000000000..2433348998e --- /dev/null +++ b/src/etc/pkg/welcome.rtf @@ -0,0 +1,12 @@ +{\rtf1\ansi\ansicpg1252\cocoartf1265\cocoasubrtf190 +{\fonttbl\f0\fswiss\fcharset0 Helvetica;} +{\colortbl;\red255\green255\blue255;} +\margl1440\margr1440\vieww10800\viewh6300\viewkind0 +\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural + +\f0\fs28 \cf0 \ +\ + You will be guided through the steps necessary to\ + install this software.\ +\ + This will install Rust to /usr/local} |
