Skip to content

Commit b34a658

Browse files
committed
Attempt 6, try manually preserving old jar manifest #186
1 parent a0d5f4f commit b34a658

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/scripts/build_dmg.zsh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,11 @@ if [ "$IDENTITY_PASSPHRASE" != "" ]; then
3939

4040
# Replace the jar with one containing the executables with corrected signatures.
4141
rm -f ../Input/beat-link-trigger.jar
42-
jar cfm ../Input/beat-link-trigger.jar . META-INF/MANIFEST.MF
42+
cp META-INF/MANIFEST.MF ..
43+
jar cfm ../Input/beat-link-trigger.jar . ../MANIFEST.MF
4344
cd ..
4445
rm -rf jar_tmp
46+
rm MANIFEST.MF
4547

4648
# Run jpackage to build the native application as a code signed disk image
4749
jpackage --name "$blt_name" --input Input --add-modules "$blt_java_modules" \

0 commit comments

Comments
 (0)