Skip to content

Commit d0f7498

Browse files
authored
Update distribution license (#433)
* Update license and macOS installer * Add resources to productbuild
1 parent 51e151f commit d0f7498

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
2.02 KB
Binary file not shown.

NeuralAmpModeler/scripts/makeinstaller-mac.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,9 @@ XMLEND
178178
# build installation bundle
179179
# --resources .
180180

181-
productbuild --distribution ${TARGET_DIR}/distribution.xml --package-path ${PKG_DIR} "${TARGET_DIR}/$OUTPUT_BASE_FILENAME"
181+
TEMP_RESOURCES=$(mktemp -d)
182+
cp ./installer/license.rtf ${TEMP_RESOURCES}
183+
productbuild --resources ${TEMP_RESOURCES} --distribution ${TARGET_DIR}/distribution.xml --package-path ${PKG_DIR} "${TARGET_DIR}/$OUTPUT_BASE_FILENAME"
182184

183185
rm ${TARGET_DIR}/distribution.xml
184186
rm -r $PKG_DIR

0 commit comments

Comments
 (0)