Skip to content
This repository was archived by the owner on Oct 31, 2022. It is now read-only.

Commit e919d32

Browse files
committed
xml and instructions for making Mac installer
1 parent b765469 commit e919d32

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed

Hap Codec Mac/Distribution.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?xml version="1.0" encoding="utf-8" standalone="no"?>
2+
<installer-gui-script minSpecVersion="1">
3+
<pkg-ref id="com.Vidvox.pkg.Hap"/>
4+
<license file="License.txt"/>
5+
<options customize="never" require-scripts="false"/>
6+
<choices-outline>
7+
<line choice="default">
8+
<line choice="com.Vidvox.pkg.Hap"/>
9+
</line>
10+
</choices-outline>
11+
<choice id="default"/>
12+
<choice id="com.Vidvox.pkg.Hap" visible="false">
13+
<pkg-ref id="com.Vidvox.pkg.Hap"/>
14+
</choice>
15+
<pkg-ref id="com.Vidvox.pkg.Hap" version="8" onConclusion="none">Hap.pkg</pkg-ref>
16+
</installer-gui-script>

Hap Codec Mac/Release Steps.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
2+
##Making an Installer
3+
4+
Check version number in
5+
6+
Hap Codec Windows/Installer/HapQuickTimeSetup.wxs
7+
source/HapCodecVersion.h b/source/HapCodecVersion.h
8+
source/Info.plist
9+
Hap Codec Mac/Distribution.xml
10+
11+
Product > Archive in Xcode (do not use the product of a debug build, performance will be terrible).
12+
13+
Export the archive and cd into archive directory
14+
15+
Delete usr directory from archive root (Products directory)
16+
17+
pkgbuild --root Products --version 8 --identifier com.Vidvox.pkg.Hap Hap.pkg
18+
19+
copy LICENSE from the repo to Resources/License.txt
20+
21+
productbuild --resources Resources/ --distribution ~/Development/Hap/hap-qt-codec/Hap\ Codec\ Mac/Distribution.xml Hap\ Codec\ Installer-unsigned.pkg
22+
23+
productsign --sign "Developer ID Installer" Hap\ Codec\ Installer-unsigned.pkg Hap\ Codec\ Installer.pkg

0 commit comments

Comments
 (0)