Skip to content

Commit

Permalink
improve the text in the mac installer
Browse files Browse the repository at this point in the history
  • Loading branch information
evancz committed Oct 14, 2019
1 parent 5941911 commit 2edbe13
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 13 deletions.
6 changes: 3 additions & 3 deletions installers/mac/Distribution.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<installer-script minSpecVersion="1.000000" authoringTool="com.apple.PackageMaker" authoringToolVersion="3.0.6" authoringToolBuild="201">
<title>Elm Platform</title>
<title>Elm</title>
<options customize="allow" allow-external-scripts="no"/>
<domains enable_localSystem="true"/>
<volume-check script="pm_volume_check();"/>
Expand All @@ -10,7 +10,7 @@
function pm_volume_check() {
if(!(my.target.systemVersion &amp;&amp; /* >= */ system.compareVersions(my.target.systemVersion.ProductVersion, '10.6.0') >= 0)) {
my.result.title = 'Failure';
my.result.message = 'This version of Elm Platform requires Mac OS X 10.6 or later.';
my.result.message = 'This version of Elm requires Mac OS X 10.6 or later.';
my.result.type = 'Fatal';
return false;
}
Expand All @@ -26,7 +26,7 @@ function pm_volume_check() {
<choices-outline>
<line choice="choice2"/>
</choices-outline>
<choice id="choice2" title="Elm Platform ">
<choice id="choice2" title="Elm">
<pkg-ref id="org.elm-lang.binaries.pkg"/>
</choice>
<pkg-ref id="org.elm-lang.binaries.pkg" installKBytes="19444" version="1" auth="Root">binaries.pkg</pkg-ref>
Expand Down
19 changes: 13 additions & 6 deletions installers/mac/Resources/en.lproj/conclusion.rtf
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf400
{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
{\rtf1\ansi\ansicpg1252\cocoartf2509
\cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fswiss\fcharset0 Helvetica;\f1\fmodern\fcharset0 CourierNewPSMT;}
{\colortbl;\red255\green255\blue255;}
\paperw11900\paperh16840\margl1440\margr1440\vieww10800\viewh8400\viewkind0
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural
{\*\expandedcolortbl;;}
\paperw11900\paperh16840\margl1440\margr1440\vieww11180\viewh8400\viewkind0
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural\partightenfactor0

\f0\fs26 \cf0 A bunch of useful programs were just placed in /usr/local/bin/\
\f0\fs28 \cf0 Try opening the terminal and running commands like:\
\
Check out {\field{\*\fldinst HYPERLINK "http://elm-lang.org/Get-Started.elm"}{\fldrslt this tutorial}} to learn how to use them!}

\f1 elm init\
elm make src/Main.elm --optimize\
elm repl
\f0 \
\
Check out {\field{\*\fldinst{HYPERLINK "https://guide.elm-lang.org/"}}{\fldrslt this tutorial}} for more advice!}
13 changes: 9 additions & 4 deletions installers/mac/Resources/en.lproj/welcome.rtf
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf400
{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
{\rtf1\ansi\ansicpg1252\cocoartf2509
\cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fswiss\fcharset0 Helvetica;\f1\fmodern\fcharset0 CourierNewPSMT;}
{\colortbl;\red255\green255\blue255;}
{\*\expandedcolortbl;;}
\paperw11900\paperh16840\margl1440\margr1440\vieww10800\viewh8400\viewkind0
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0

\f0\fs28 \cf0 This package will install Elm on your machine.}
\f0\fs28 \cf0 Thank you for trying out Elm!\
\
This installer makes
\f1 elm
\f0 available in your terminal.}

0 comments on commit 2edbe13

Please sign in to comment.