on f4401ac help sign in
elk/installers/mac/Distribution.xml
31 lines 1.3 kB history raw
1<?xml version="1.0" encoding="utf-8" standalone="no"?>
2<installer-script minSpecVersion="1.000000" authoringTool="com.apple.PackageMaker" authoringToolVersion="3.0.6" authoringToolBuild="201">
3 <title>Elm Platform</title>
4 <options customize="allow" allow-external-scripts="no"/>
5 <domains enable_localSystem="true"/>
6 <volume-check script="pm_volume_check();"/>
7 <script>
10function pm_volume_check() {
11 if(!(my.target.systemVersion &amp;&amp; /* >= */ system.compareVersions(my.target.systemVersion.ProductVersion, '10.6.0') >= 0)) {
12 my.result.title = 'Failure';
13 my.result.message = 'This version of Elm Platform requires Mac OS X 10.6 or later.';
14 my.result.type = 'Fatal';
15 return false;
16 }
17 return true;
20</script>
21 <background file="background.png" alignment="bottomleft" scaling="none" mime-type="image/png"/>
22 <welcome mime-type="text/rtf" file="welcome.rtf" />
23 <conclusion mime-type="text/rtf" file="conclusion.rtf" />
24 <choices-outline>
25 <line choice="choice2"/>
26 </choices-outline>
27 <choice id="choice2" title="Elm Platform ">
28 <pkg-ref id="org.elm-lang.binaries.pkg"/>
29 </choice>
30 <pkg-ref id="org.elm-lang.binaries.pkg" installKBytes="19444" version="1" auth="Root">binaries.pkg</pkg-ref>
31</installer-script>