Skip to content

Commit 7e4d3fd

Browse files
authored
Merge pull request #53 from ledhed2222/more-mac-signing
More mac signing
2 parents 01a676f + 1c7c633 commit 7e4d3fd

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/build-installers.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,19 @@ jobs:
6161
CERT_IDENTITY=$(security find-identity -v -p codesigning | grep "Developer ID Application" | head -1 | sed -n 's/.*"\(.*\)"/\1/p')
6262
echo "Using certificate: $CERT_IDENTITY"
6363
64+
# Create clean input directory with only the JAR file
65+
rm -rf jpackage-input
66+
mkdir -p jpackage-input
67+
cp target/EWItool-${{ steps.version.outputs.version }}.jar jpackage-input/
68+
69+
# Remove any existing app bundle
70+
rm -rf target/EWItool.app
71+
6472
# First create just the app-image (app bundle), not DMG yet
6573
jpackage \
6674
--type app-image \
6775
--name EWItool \
68-
--input target \
76+
--input jpackage-input \
6977
--main-jar EWItool-${{ steps.version.outputs.version }}.jar \
7078
--main-class com.github.ledhed2222.ewitool.Main \
7179
--dest target \

0 commit comments

Comments
 (0)