summaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2021-03-08 22:14:40 -0700
committermo khan <mo@mokhan.ca>2021-03-08 22:14:40 -0700
commit08d95921be282ad2c6253e005ed3ef6535a4efa0 (patch)
treef0c07994e72ffb3d7a6078030a3ec5a20a37e3cc /resources
initial commit
Diffstat (limited to 'resources')
-rw-r--r--resources/spandx/pkg/background.pngbin0 -> 19502 bytes
-rw-r--r--resources/spandx/pkg/distribution.xml.erb22
-rw-r--r--resources/spandx/pkg/license.html.erb3
-rw-r--r--resources/spandx/pkg/welcome.html.erb7
4 files changed, 32 insertions, 0 deletions
diff --git a/resources/spandx/pkg/background.png b/resources/spandx/pkg/background.png
new file mode 100644
index 0000000..cf3e062
--- /dev/null
+++ b/resources/spandx/pkg/background.png
Binary files differ
diff --git a/resources/spandx/pkg/distribution.xml.erb b/resources/spandx/pkg/distribution.xml.erb
new file mode 100644
index 0000000..d56d817
--- /dev/null
+++ b/resources/spandx/pkg/distribution.xml.erb
@@ -0,0 +1,22 @@
+<?xml version="1.0" standalone="no"?>
+<installer-gui-script minSpecVersion="1">
+ <title><%= friendly_name %></title>
+ <background file="background.png" alignment="bottomleft" mime-type="image/png"/>
+ <welcome file="welcome.html" mime-type="text/html"/>
+ <license file="license.html" mime-type="text/html"/>
+
+ <!-- Generated by productbuild - - synthesize -->
+ <pkg-ref id="<%= identifier %>"/>
+ <options customize="never" require-scripts="false"/>
+ <choices-outline>
+ <line choice="default">
+ <line choice="<%= identifier %>"/>
+ </line>
+ </choices-outline>
+ <choice id="default"/>
+ <choice id="<%= identifier %>" visible="false">
+ <pkg-ref id="<%= identifier %>"/>
+ </choice>
+ <pkg-ref id="<%= identifier %>" version="<%= version %>" onConclusion="none"><%= component_pkg %></pkg-ref>
+ <domains enable_anywhere="false" enable_currentUserHome="false" enable_localSystem="true" />
+</installer-gui-script>
diff --git a/resources/spandx/pkg/license.html.erb b/resources/spandx/pkg/license.html.erb
new file mode 100644
index 0000000..d9ae912
--- /dev/null
+++ b/resources/spandx/pkg/license.html.erb
@@ -0,0 +1,3 @@
+All Rights Reserved
+
+This is a generic Omnibus license file for <%= friendly_name %>. If you are building Mac OS X packages, you should generate a custom license file and description to suit your needs.
diff --git a/resources/spandx/pkg/welcome.html.erb b/resources/spandx/pkg/welcome.html.erb
new file mode 100644
index 0000000..9b1d15d
--- /dev/null
+++ b/resources/spandx/pkg/welcome.html.erb
@@ -0,0 +1,7 @@
+This will install <%= friendly_name %> on your Mac.
+
+--------------------------------------------------
+
+This is a generic Omnibus welcome message. If you are building Mac OS X packages, you should generate a custom welcome file to suit your needs.
+
+If you are not the creator of <%= friendly_name %>, the presence of this message is likely a bug and should be reported to the creator.